1, git to download and install
git download, foreign official website address is generally very slow to download, you can use a mirror address domestic Taobao, according to the computer version a reasonable choice to use the system to provide the following address
git official website: https: //git-scm.com
git mirror: https://npm.taobao.org/mirrors/git-for-windows
2, just double-click the downloaded git version, for example, I downloaded the Git-2.22.0-64-bit.exe, click Run, read the instructions, click Next
Select the installation directory (usually I like to put another disk), click Next, choose the components, direct default, click Next
Select the menu directory name, directly default click Next
Select the default editor, directly to the default, click Next
Choose to use the command line environment, there are three ways are as follows, we recommended to choose the default second term
use Git from Git Bash only only use the Git Git Bash command-line tool, you can not use git in cmd, will not git added to the environment variable
Git from the command line and also from 3rd-party software can use git in Git Bash and cmd, the git automatically added to the environment variable, select this option by default
Use Git and optional Unix tools from the Command Prompt Git and optional Unix tools will be added to your computer's PATH
Select HTTP back-end transmission, select the default first item, click Next
Configuring end of line conversion, by default the first item, click Next
Select the terminal emulator, select the default first item, click Next
Additional configuration, the default first item, click Next
Experimental configuration options, the default is not ticked, click on Install
After the installation is complete, click Finsh
After clicking Finish, the desktop will create a Git Bash shortcut, right-click the mouse in any directory, there will be Git Gui Here, Git Bash Here
Click Git Gui Here, enter git, the following interface, the installation was successful.