1、清除原有仓库
git remote remove origin
2、重新添加原有仓库(fetch+push)
git remote add origin URL_A
3、添加备份仓库(push)
git remote set-url --add --push origin URL_B
后续会从URL_A拉取(fetch/pull),往URL_A和URL_B进行推送(push)