2 answers

This should work. I just created a new JazzHub project backed by Git (came with the readme.md and the license.txt file). I also created a folder on my Mac and inside that folder I did a 'git init'. I added a file there called 'testing.txt'.

Ken's answer is about pushing after pulling a newly created project. If you want to upload an existing project the --force flag in git push is your friend, as I learned from https://developer.ibm.com/answers/answers/178614/view.html Without forcing, I was being told that updates were rejected because the remote contains work that you do hint: not have locally.