Set up remotes setup local repo mkdir myrepository cd myrepository git init add bitbucket remote as "origin"