Pro migraci existujícího git repositáře je nejlepší tento postup (https://stackoverflow.com/a/26552740):
git clone --mirror <URL to my OLD repo location>cd <New directory where your OLD repo was cloned>git remote set-url origin <URL to my NEW repo location>git push -f origin