Add A Project On GitHub Using Visual Studio

Hi developers, in this blog, I will show you how to add an ASP.Net Core application to a git repository.
 
Already there are hundreds of blogs present on the internet which describe how to do so but in this blog, I will show you in a simple way so that you can easily understand how to add a new project on Github.
 
 
As you can see in the image above (create a new git repository) is checked which will create a new local repository for us.
 
Then open the team explorer from the view tab as shown in the next image.
 
 
Note
If GitHub is not available in the hosted service providers section then please add GitHub extension for visual studio.
 
 
 
Click on connect and fill your credentials of GitHub. After adding the credentials click on Sync tab and publish on GitHub.
 
 
 
This will automatically create a repository for you in which your project exists as you can see in the picture.
 
 
 
In this way, you can add a project on GitHub. If you have any other query regarding this then please let me know
 
Thanks for reading.