Assuming that you have an existing application you want to add to GitHub, the process of adding it to a new repository is quite simple. I have simply created a console application with nothing but the template code, but you can add any project type and size to GitHub.
On the View menu in Visual Studio 2017, select the Team Explorer option.
You will be presented with two options under the Hosted Service Providers section. For now, we will select GitHub and, seeing as we already have an account, we will click on Connect...
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.