git pull from mirror code example
Example: git pull mirroring
$ git fetch --prune
$ git push --prune [email protected]:/new-location.git +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*
$ git fetch --prune
$ git push --prune [email protected]:/new-location.git +refs/remotes/origin/*:refs/heads/* +refs/tags/*:refs/tags/*