Learn how to generate a RSA key pair and allow Codenvy and Github to communicate.
Use a Git Repository in Codenvy and push your code to GitHub.
There is a blog post on the same topic How to use Codenvy and GitHub together.
The way that works is the same for bitbucket.
Источник: rutube.ru