The standout reason to use Bitbucket was its ease to create a
private repository, where we had to buy a GitHub subscription to do it - but as GitHub also provides this, it's time to move our base back to our favorite version control.
Steps to migrate your repositories
Create a new private repository on Github. Don’t fail to create an empty repository, e.g. uncheck the option
Initialise this repository with a README while creating.
Clone the existing project you wish to migrate. Don't forget to change the visibility to 'public' in case it is a private repository.
You can do it by navigating to
Repository settings/repository details
'This is a private repository'`.
Once you are back to your newly created GitHub repository, navigate to
Quick setup in the <>Code tab
and scroll down to locate
…or import code from another repository
paste your HTTPS-URL and click
If all contents are migrated to your GitHub repository, double-check it, and after that delete the Bitbucket repository if not required.
1. Go to the old Bitbucket repository
2. Select menu option
Setting > Delete repository