GitHub is a version control system that used to work across the shared projects. You can also use it to put your project on cloud , so you'll never worried about its sequential backups. GitHub will save your all project versions before and after changing.
Microsoft is providing GitHub Extension for visual studio. You can download and install it from here . I'm going to show you in this blog post that how to make a project in visual studio and publish it to GitHub .
I'm writing this with Snapshots so that you can easily understand what I'm going. I'm writing it with Steps. please put your comments as feedback because I'm very new to writing blog.
Microsoft is providing GitHub Extension for visual studio. You can download and install it from here . I'm going to show you in this blog post that how to make a project in visual studio and publish it to GitHub .
I'm writing this with Snapshots so that you can easily understand what I'm going. I'm writing it with Steps. please put your comments as feedback because I'm very new to writing blog.
- Open Visual Studio and Select the option " Open from Source Control " .this option used to create a project on Some Version Control System. Like GitHub or TFS etc. TFS stands for Team Foundation Server.

- After selecting "Open from Source Control" a small window named " Team Explorer - Connect " will open. List of projects under the tab of GitHub will be showing in that window.

- After Selecting your project type and name you've to focus on a small check box on bottom right corner "Add to Source Control". by default this is check box is not checked. you've to check it to Put your project on GitHub. After that click OK.

- You'll be shown another small window like below . you've to choose your version control system from Provided options. Select Git and click OK.
a) Team Foundation Version Control is Microsoft's Version Control system that is also very famous.
5. After this you'll be shown two types of repositories
a) Online repositories
b) Local repositories
Under local repositories , the project you just created will be visible.
6. To sync your local project with online GitHub click on Clone. VS will ask for the URL of online repository. It is that repository which you've already created on GitHub website. If you did't create it yet. Simply open GitHub and create your account.
7. Open your GitHub account. you'll find few option over there.
8. Click to Create New Repository.
your already created repositories will be shown here also.
9. Once your click new repository . You'll be provided a form to fill with some information.
a) Repository name > set a name for your repository to access it from web using URL like
" Owner / Repository name "
b) Write a description for your repository.
10 . You'll find two buttons Public and Private
a) Public:
Anyone can see and access your project.
b) Private:
You've option to set the access level of your project.
c) Initialize this repository with a README:
If you check it . a copy of online repository will be sync to your desktop immediately. So leave it UnCheck and click Create Repository.
11. Your repository has been created . Copy the URL of your repository as shown in picture below.
12. Now come back to your visual studio and paste the URL of your repository and click "Clone". Your local project will be sync to your online repository.
13. In case to publish your repository . Just paste the URL of online repository and click Publish.
14. You can see your synced repository online by clicking "View" as given in below picture.














