If you are using Nitrous.io as your development environment and choose to go with Bitbucket instead of GutHub, you will notice there is only GitHub integration, no worries, you can still connect Bitbucket to Nitrous.io
In a nutshell: Copy your public Nitrous.io RSA key and add it to Bitbucket, that’s it…
Now the details…
Run the following command and copy the results, starting with ssh-rsa
$ cat ~/.ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EA.../YPZPF
Login to your Bitbucket account, under Security click SSH Keys, then press button Add Key and finally type the label and paste the key into their corresponding input boxes and press Add Key button.
This process will add the SSH key from Nitrous.io to Bitbucket allowing you to commit code.