Moving a Repository from Bitbucket to GitHub
Some people have asked me how they can move a repository from Bitbucket to Github (or vice versa). To know how to do it we need to understand Git’s remote repositories. Remote repositories are versions of your project that are hosted on the Internet or network somewhere (you can have several of them).
First, let’s clone the Bitbucket repository:
$ git clone https://bitbucket.org/rafacas/test.git
Cloning into ’test'...
remote: Counting objects: 124, done.
remote: Compressing objects: 100% (120/120), done.
remote: Total 124 (delta 42), reused 0 (delta 0)
Receiving objects: 100% (124/124), 1.31 MiB | 541.00 KiB/s, done.
Resolving deltas: 100% (42/42), done.
Checking connectivity... done.
To see which remote servers you ...