下载地址https://git-scm.com/download/win
双击安装
鼠标右键有git bash here 和 git gui here即安装成功
#选择bash使用命令行方式 #选择项目根目录 #输入git init初始化为git仓库 $ git init