下载git安装包
下载地址:https://git-scm.com/downloads

默认下载64位安装包,如果不是64位,可手动选择下载。
安装git
同意协议:

建议使用全英文路径:

默认即可:

后续使用默认配置即可,不再详细记录,配置详情可以参考下面文章(感谢作者):
https://blog.csdn.net/sishen47k/article/details/80211002
idea配置git

修改git密码
控制面板 -> 用户帐户 -> 管理Windows凭据,修改凭据里的密码。

删除后,再使用git下载时,重新输入:
