Setting up and using GitHub in Visual Studio 2017
Visual Studio 2017 으로 github 연동하기
https://blogs.msdn.microsoft.com/benjaminperkins/2017/04/04/setting-up-and-using-github-in-visual-studio-2017/
1. github extention for visual studio 를 먼저 설치합니다.

github 계정 인증 합니다. 없으면 인증 생성하셔서 진행하시면 됩니다. (https://github.com/)

github 의 repository 을 생성하는 방법입니다.

repository 이름과 설치할 로컬 폴더 경로를 지정하고 create 합니다.

생성한 repository 에 프로젝트를 생성합니다.

생성할 asp.net core web application 을 선택하고, 로컬 경로와 github 연동을 위해 add to source control 을 체크하고 ok 합니다.

프로젝트에서 changes 을 선택합니다.

그 다음, 내용을 간략이 기재하고, 소스를 전체 commit 하기 위해 commit all 을 선택합니다.

sync 을 선택하여 연동 처리를 합니다.

이제 sync 된 소스들을 github 에 올려보죠. push 를 선택하면 github 사이트에 소스가 올라가게 됩니다.
