==Reference Link https://blog.csdn.net/huangqqdy/article/details/83032408==

Install Configuration

Install git open git bash and input command git config Confirm whether installed git config —global user.name “youname” Fill in github registration ID git config —global user.email “emailaddress” Fill in registration email address After binding input git config —list to confirm

Visual Studio Settings

==Reference Link https://blog.csdn.net/HW140701/article/details/89736246?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task==

Configuration Steps

Create a new project:Image Description

Right click Solution Explorer

Image Description Click github in Team Explorer. If have own server can select push to remote repository Image Description

Afterwards a window will pop up, fill in corresponding info or confirm via github webpage

Image Description push project Image Description This way project will be automatically created on github Image Description We modify the project practically Image Description Click commit below Image Description Figure shows already staged, if confirm click sync Image Description Can see upload success displayed above Team Explorer or view through output window Image Description Image Description Then go to github to check project Image Description Click here to see senior’s blog, clear git account logged in on vs This way you can perform git version management for the project!