How to make a GitHub mirror to Bitbucket?
I have a repo that I've cloned from GitHub and want to have a mirror of this repo on BitBucket. Is there is any way how to do it? Something like having two origin in the repo as I think. You could simply add a second remote: git remote add bitbucket /url/to/am/empty/bitbucket/repo and push everything to bitbucket: git push --mirror bitbucket You can actually pull from or push to multiple remotes from your local repo. As noted below in Rahulmohan Kolakandy 's answer , if you are talking about an on-premise BitBucket server (as opposed to bitbucket.org), then you can take advantage of BitBucket