# 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