先查看当前源

git remote -v

切换源

自行替换地址

git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/github-repo-name