$cd /path/to/my/repo
$git init
$git remote add origin https://my_account@bitbucket.org/my_account/my_repo.git
$git push -u origin master # to push changes for the first time