参考了这篇博文
git - Support for password authentication was removed. Please use a personal access token instead - Stack OverflowSettings => Developer Settings => Personal Access Token => Generate New Token (Give your password) => Fillup the form => click Generate token => Copy the generated Token
最后你正常进行git操作就可以,他会提示你输入用户名,然后输入密码
密码就是你最后保存的这个密码