一、下载Git,下载地址:https://git-for-windows.github.io
网速慢的可选:百度网盘
二、如图,安装过程中可以根据需要选择安装路径,其它选项默认即可。
三、安装完成后,在开始菜单里找到“Git Bash”,点击弹出一个命令行窗口,即说明Git安装成功!
四、设置用户名和邮箱。
$ git config --global user.name "Your Name"
$ git config --global user.email "email@example.com"