1:更换git远程仓库地址
1.1查看当前remotes
git remote -v
1.2.修改remotes
git remote set-url origin https://github.com/test/test.git
2:重置git远程仓库地址
2-1:删除当前地址
git remote rm origin
2-2:新增地址
git remote add origin https://github.com/test/test.git
3:拉去远程git
git clone https://github.com/test/test.git