how to fork from github to bitbucket

C++
$ git clone https://github.com/cakephp/cakephp
$ cd cakephp
$ git push [email protected]:mg/cakephp.git master

Source

Also in C++: