When creating a new git repo on bitbucket

(go into the folder that you want to be the repository)

git init
git remote add origin https://secretgeek@bitbucket.org/secretgeek/test_appharbor.git
"# Hello" > readme.md
git add *
git commit . -m "funny comment"
git push --set-upstream origin master