I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them,
add
commit
My issue was that the 'master' branch hadn't been created locally yet.
A quick
git checkout -b "master"
created the master branch, at which point, a quick
git push -u origin master
pushed the work up to the Git repository.