Android Studio can directly work with Github, but not with Bitbucket. Instructions for pushing an project into a Bitbucket repository for the first time are very confusing, and this process can become very frustrating if the right steps are not followed. Basically, you have to know that your first commit must be manually executed instead of using an option from the main menu or from popup menus.
In this post, we are going to use Android Studio version 1.4.