首先先下载git for windows,这里附上下载地址:git for windows
下载完成以后,点击进行安装,在Select Components 这个界面,看Git Bash Here 和Git Gui Here是否选中,如果没有选中的话选中,默认的话应该是选中的,如下:
接下来就是一路回车,我只在Configuring the terminal emulator to use with Git Bash这个选项下修改了它的默认选项
我选择了 Use Windows‘ default console window
然后就是继续回车就可以安装成功了