Adding a project to github using cli & website

Here i tell about making a project and pushing the project to GitHub.

here i discuss everything about GitHub which help you to making and tell you that how you can push or pull your project to GitHub.

First of all i consider you that you have already a GitHub account.

1. Adding a project to GitHub using GitHub official website(beginner)

(a) Make log in and after you visit your profile. Just look like that


now click on new repository button

(b) Now you can see create new repository page. just look like that.

new repo

here you need to filling all required filled. after it your repository ready to go. And you are able to uploading your project files.

(c)Now it’s time to uploading your project files to your repository  . see the picture.


here you some options like branch -master and upload files and create new file also. now you know that you

have already project files. Now it’s time to uploading a folder or files etc.

(d) Now you can click on uploading files and upload your files. just look like that.

here you can add a whole folder of your project or you can add files. after it use commit changes option which means you need to telling about your changes. after all your project repository is live for use by someone.

Note:- for adding folders use drag and drop option. and this option is not working for 100+ files in folder. for adding more files you need to command line interface which discuss in next section in this article.

2. Adding a project  using cmd prompt or cli (intermediate)

(i) Adding an existing project to github using cli (git bash or cmd prompt)

(a)  Create an new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.

(b)  Open git Bash

(c)  Change the current working directory to your local project.

(d)  Initialize the local directory as a Git repository.

    $ git init

(e) Add the files in your new local repository. This stages them for the first commit.

    $ git add .

#  Adds the files in the local repository and stages them for commit. To unstage a file, use ‘git reset HEAD YOUR-FILE‘.

(f)  Commit the files that you’ve staged in your local repository.

     $ git commit -m "First commit"
     # Commits the tracked changes and prepares them to be pushed to a remote repository. To remove this commit and modify the file, use 'git reset --soft HEAD~1' and commit and add the file again.

(g)  At the top of your GitHub repository’s Quick Setup page, click  to copy the remote repository URL.

(h)  In the Command prompt, add the URL for the remote repository  where your local repository will be pushed.

     $ git remote add origin remote repository URL
     # Sets the new remote
     $ git remote -v
     # Verifies the new remote URL

(i) Push the changes in your local repository to GitHub. 

     $ git push origin master
     # Pushes the changes in your local repository up to the remote repository you specified as the origin


For any help comment , we help you


View all posts by

90 thoughts on “Adding a project to github using cli & website

  1. Pretty element of content. I simply stumbled upon your weblog and in accession capital to say that I acquire in fact
    enjoyed account your weblog posts. Any way I will
    be subscribing to your augment and even I success you get
    admission to persistently fast.

  2. That is very interesting, You’re a very skilled blogger.

    I have joined your rss feed and sit up for looking for extra of your fantastic post.
    Additionally, I’ve shared your website in my social networks

  3. Hello! Quick question that’s entirely off topic.
    Do you know how to make your site mobile friendly? My
    site looks weird when browsing from my iphone 4.
    I’m trying to find a theme or plugin that might be able to
    fix this issue. If you have any recommendations, please share.
    With thanks!

  4. Heya! I just wanted to ask if you ever have any issues with
    hackers? My last blog (wordpress) was hacked and I ended up losing
    months of hard work due to no data backup. Do you have any solutions
    to stop hackers?

  5. I’m impressed, I must say. Rarely do I encounter a blog that’s both educative and interesting, and without a doubt,
    you have hit the nail on the head. The issue is something that too few
    men and women are speaking intelligently about. I am very happy that I stumbled across this
    during my hunt for something regarding this.

  6. Hello there, I discovered your web site by way of Google at the same time as looking for a comparable matter, your site came up, it appears to be like great.

    I have bookmarked it in my google bookmarks.
    Hi there, simply became alert to your weblog thru Google, and found that it is truly
    informative. I am going to watch out for brussels. I’ll appreciate for those who proceed this in future.
    Numerous people shall be benefited from your writing.

  7. I know this if off topic but I’m looking into starting my own blog and was wondering what
    all is required to get set up? I’m assuming having a blog like yours would cost a pretty
    penny? I’m not very web smart so I’m not 100% certain. Any tips or advice would be greatly appreciated.

  8. Magnificent beat ! I would like to apprentice while you amend your site, how can i
    subscribe for a blog web site? The account aided me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast offered bright clear concept

  9. I’ve been exploring for a little for any high-quality articles or weblog posts
    in this sort of space . Exploring in Yahoo I eventually stumbled upon this site.
    Studying this info So i am happy to exhibit that I’ve an incredibly excellent uncanny feeling I discovered just what I needed.
    I most unquestionably will make sure to don?t forget this web site and
    give it a look regularly.

  10. Platinum Radiance 鉑金光燦 商品一覽 找品牌 以UrCosme指數高至低排序 第1頁 Platinum Radiance 鉑金光燦 化妝品商品一覽,提供 Platinum Radiance 鉑金光燦的產品列表,以UrCosme指數高至低排列,共0件,Platinum Radiance 鉑金光燦的搜尋結果之第1頁

  11. I’m not sure why but this blog is loading very slow for me.
    Is anyone else having this problem or is it a issue on my end?
    I’ll check back later on and see if the problem still

  12. 我們採用國際及美國食品及藥物管理局FDA認可的CO2 激光儀 LUTRONICS® SPECTRA SPR, 具安全性, 準確度高 . 二氧化碳激光可安全地去除皮膚上的癦痣、肉粒、疣、老人斑等問題。此激光的幼細光束可準確及直接地將要去除的組織氧化,過程快捷,傷口細小及乾淨,對周圍的皮膚傷害減至最少。一般1-2次就可永久去除。

  13. 以低能量的1064-Q激光反覆掃於皮膚表面,逐步改善皮膚色素問題。 治療時產生的熱能能促進膠原蛋白的再生,回復肌膚彈性。 使用7mm平行光光頭,使輸出的激光更溫和及均勻。功效: 去除紋身 美白及去除面毛 令整體膚色更白更均勻 減淡及去除荷爾蒙斑或反黑 增加皮膚膠原蛋白,改善皮膚彈性 減淡深層色斑 : 黃褐斑,荷爾蒙斑,蝴蝶斑 以低能量的1064-QS激光反覆掃於皮膚表面,逐步改善皮膚色素問題 使用8-10mm平行光光頭,使輸出的激光 更溫和及均勻 1. 激光能透進皮膚深層 2. 激光被黑色素吸收 3. 產生熱能將黑色素體分解 4. 被呑噬細胞吸收及排出體外

  14. I’m extremely impressed together with your writing talents and also with the structure to your weblog.
    Is that this a paid topic or did you modify it yourself? Either way keep up the nice
    quality writing, it is uncommon to see a nice blog like this one

  15. Today, I went to the beach with my children. I found a sea shell and gave it to my 4
    year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear. She never wants to go back!
    LoL I know this is completely off topic but I had to tell someone!

  16. Heya fantastic website! Does running a blog like this take a massive amount work?
    I have virtually no understanding of computer programming however I had been hoping to start my own blog in the
    near future. Anyway, if you have any recommendations or tips for
    new blog owners please share. I know this is off subject but
    I simply wanted to ask. Kudos!

  17. You are so awesome! I don’t believe I’ve truly read
    through something like that before. So wonderful to find someone with original thoughts on this topic.
    Seriously.. thank you for starting this up. This site is one
    thing that is needed on the internet, someone with a little originality!

  18. Hi there! This post couldn’t be written any better! Reading through this post
    reminds me of my old room mate! He always kept chatting
    about this. I will forward this article to him.

    Pretty sure he will have a good read. Many thanks for sharing!

  19. Excellent post. I was checking constantly this blog and I am impressed!
    Extremely helpful info particularly the last part 🙂 I
    care for such info a lot. I was looking for this particular info for a long time.
    Thank you and best of luck.

  20. Nice post. I was checking constantly this blog and I’m impressed!

    Very helpful info specifically the last part 🙂 I care for
    such info much. I was looking for this certain info for a long time.
    Thank you and best of luck.

  21. Descargar facebook
    Hey there just wanted to give you a brief heads up and let you
    know a few of the images aren’t loading correctly. I’m not
    sure why but I think its a linking issue. I’ve tried it in two different internet
    browsers and both show the same outcome. Descargar facebook

  22. I really love your blog.. Excellent colors & theme.
    Did you create this website yourself? Please reply back as I’m wanting to create my own blog and would love to find
    out where you got this from or what the theme is named.
    Many thanks!

  23. Hmm it appears like your site ate my first comment (it was extremely
    long) so I guess I’ll just sum it up what
    I wrote and say, I’m thoroughly enjoying your blog. I too am an aspiring blog
    writer but I’m still new to everything. Do you have any
    suggestions for beginner blog writers? I’d definitely appreciate it.

  24. Woah! I’m really digging the template/theme of this blog.
    It’s simple, yet effective. A lot of times it’s hard to get
    that “perfect balance” between user friendliness and visual appeal.
    I must say you have done a superb job with this. In addition, the blog loads
    extremely quick for me on Internet explorer. Outstanding Blog!

  25. Descargar facebook descargar facebook

    Howdy! I know this is sort of off-topic however I had to ask.

    Does building a well-established website such as yours require
    a lot of work? I’m completely new to blogging however I do write in my journal every day.
    I’d like to start a blog so I can share my own experience and thoughts
    online. Please let me know if you have any recommendations or tips for brand new aspiring blog owners.
    Thankyou! Descargar facebook descargar facebook

  26. Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap
    I am sure this post has touched all the internet users, its really really pleasant paragraph
    on building up new website. Quest bars cheap fitnesstipsnew1 quest bars cheap 516999410492780544 quest bars cheap

  27. It is perfect time to make some plans for the future and it’s time to be happy.
    I have read this post and if I could I wish to suggest you some interesting things or suggestions.
    Maybe you could write next articles referring to this article.
    I desire to read more things about it!

  28. What i don’t realize is in fact how you’re not really much more well-appreciated than you might be right now.
    You are so intelligent. You already know therefore considerably when it comes to
    this subject, produced me individually consider it from numerous varied
    angles. Its like men and women don’t seem to be involved unless it’s one thing to accomplish with Girl gaga!

    Your personal stuffs outstanding. Always take care of it up!

  29. I know this if off topic but I’m looking into
    starting my own weblog and was curious what all is needed to
    get setup? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web savvy so I’m not 100% positive.

    Any tips or advice would be greatly appreciated. Kudos

  30. Please let me know if you’re looking for a article author for your weblog.
    You have some really good articles and I think I would
    be a good asset. If you ever want to take some of the load off, I’d really like to write some content for your blog in exchange for a link back to mine.
    Please blast me an email if interested. Many thanks!

  31. Excellent post however , I was wondering if you could write a litte more on this
    topic? I’d be very thankful if you could elaborate a little bit further.
    Many thanks!

  32. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored material stylish.

    nonetheless, you command get bought an impatience over
    that you wish be delivering the following. unwell
    unquestionably come more formerly again as exactly the same nearly
    a lot often inside case you shield this hike.

  33. Thank you for every other wonderful article. The place else could anyone
    get that kind of information in such a perfect method of writing?
    I’ve a presentation next week, and I am at the search for such information.

  34. I’ll right away seize your rss feed as I can’t to find your e-mail
    subscription link or newsletter service. Do you’ve any?

    Kindly permit me recognise in order that I
    could subscribe. Thanks.

  35. Hi there I am so grateful I found your weblog, I really found you by accident, while I was browsing on Bing for something else, Nonetheless I am here now and would just like to say cheers for a marvelous post
    and a all round enjoyable blog (I also love the theme/design),
    I don’t have time to look over it all at the moment but I have book-marked it and also added in your RSS feeds, so
    when I have time I will be back to read a lot more, Please
    do keep up the fantastic jo.

  36. I don’t know whether it’s just me or if everyone else encountering issues with your site.
    It looks like some of the text in your posts are running off the
    screen. Can someone else please provide feedback and let me know if
    this is happening to them as well? This may be a issue with
    my browser because I’ve had this happen before.

    Appreciate it

  37. What i do not realize is actually how you’re now not really a lot more
    smartly-liked than you may be now. You’re very intelligent.
    You know thus considerably in the case of this topic, made me personally imagine it
    from a lot of numerous angles. Its like women and men don’t seem to be interested except it is something to do with Girl gaga!
    Your individual stuffs excellent. At all times maintain it up!

  38. I am glad for writing to make you be aware of what a incredible discovery my princess had reading your web site. She discovered such a lot of things, which include what it’s like to possess an ideal teaching mood to let most people smoothly know precisely certain problematic issues. You undoubtedly surpassed visitors’ expectations. I appreciate you for displaying those good, healthy, educational and in addition fun guidance on this topic to Evelyn.

  39. Frank Figliuzzi, former assistant director for counterintelligence at the FBI, talks to Rachel Maddow about how Maria Butina’s case is a snapshot of Russian attempts to contact campaign officials.

  40. Thank you a lot for providing individuals with a very brilliant opportunity to check tips from this web site. It really is so great and also jam-packed with a good time for me and my office colleagues to search the blog on the least three times weekly to study the newest issues you have. And of course, we are actually impressed for the beautiful tips you give. Some 3 points in this article are certainly the finest we have all ever had.

  41. I am writing to make you understand of the excellent experience my friend’s girl developed using the blog. She even learned numerous details, which include what it’s like to have a wonderful helping style to make the mediocre ones without hassle learn specified grueling subject matter. You really did more than readers’ expectations. I appreciate you for presenting such informative, dependable, explanatory and fun tips about this topic to Julie.

Leave a Reply

Your email address will not be published. Required fields are marked *