# partiendo de un repositorio existente y uno recién creado cp -r $PATH_REPO $PATH_REPO_NEW (habría que hacer un --bare antes?) git remote -set-url origin $URL_REPO_NEW git push --mirror origin
git clone --mirror $URL ≡ git clone --bare $URL && (cd $(basename $URL) && git remote add --mirror=fetch origin $URL)
git clone --bare $URL_REPO cd $PATH_REPO git push --mirror $URL_NEW_REPO (o cambiar origin y un git push --mirror ?)