I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them,
add
commit
Just add an initial commit. Follow these steps:
git add .
git commit -m "initial commit"
git push origin master
This worked for me.