一、下载地址
Git for Windows
二、安装
双击Git-2.56.0-64-bit.exe→ 一路 Next,但有两个地方要看一下:
第 1 处:Choosing the default editor(选择默认编辑器)
默认高亮的是Vim。这个千万别选——新手进去后不知道怎么退出(要按
Esc然后输入:q!回车),很容易卡住。改成
Use Notepad as Git's default editor或Use Visual Studio Code...,用哪个都行,别用 Vim。
第 2 处:Adjusting the PATH environment
保持默认的
Git from the command line and also from 3rd-party software就行,别动。
其余全部默认,点到底。