https://blogs.msdn.microsoft.com/visualstudioalm/2013/01/30/ getting-started-with-git-in-visual-studio-and-team-foundation-service/
One. Visualstudio.com managed code
1. Register your login account on the Visual Studio login page to get your hosting address https://xxxxxx.visualstudio.com/
2. Login home Https://xxxxx.visualstudio.com/_createproject To see the Create Project button or create a project from the settings
3. Enter the project name, such as Myfirstgit, click the Create Project button. Wait for the successful interface, click Addcode to get your git link
4. In Team Explorer, connect the team project collection to see the projects you have created
5. Cloning
After cloning, there are 2
6. Start a new project under Team Explorer
7. Show the plus sign to accept source code control
8. Submit
Two. Git local source code control
1. New project, do not tick "add to Source Control"
2. Add a solution to source control choose source Control git
3. Team Explorer Home-set global settings, default repositories, and compare to tool settings
Visual Studio Code management tools git