git clone --bare 原仓库地址 
cd 进入目录
git remote set-url origin 新仓库地址
git push --mirror