How to move git repository with all branches from bitbucket to github?

swalkner picture swalkner · Apr 7, 2014 · Viewed 111.9k times · Source

What is the best way to move a git repository with all branches and full history from bitbucket to github? Is there a script or a list of commands I have to use?

Answer

MarMass picture MarMass · Nov 2, 2014

It's very simple.

  1. Create a new empty repository in GitHub (without readme or license, you can add them later) and the following screen will show.

  2. In the import code option, paste your Bitbucket repo's URL and voilà!!

Click Import code