在git bush 下执行 where git 找到git安装目录
在git的安装目录下找到/etc/ssh/ssh_config文件,然后再把这段
Host github.com
User HelloVansal
Hostname ssh.github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Port 443
复制到进去,user为你自己的账户名
然后在git bush下执行 ssh -T git@github.com
选择yes,等一会记好了