git clone --mirror git@bitbucket.org:lumbermill/myproject.git cd myproject.git git remote set-url origin git@github.com:lumbermill/myproject.git git push --mirror origin