1
2
3
4
5
6
git clone https://bitbucket.org/username/repos.git local_dir
cd local_dir
git remote rename origin bitbucket
git remote add origin git@github.com:username/repos.git
git push -u origin master
git remote rm bitbucket