$ git clone --mirror https://bitbucket.org/tommcfarlin/acme-repository.git
$ cd acme-repository
$ git remote set-url --push origin [email protected]:pressware/acme-repository.git
$ git push --mirror
(Source: https://tommcfarlin.com/migrating-from-bitbucket-to-github/)