This seems like a popular error for different causes.
I\'ve got a simple bare git repo called \"kiflea.git\", I clone it like this:
git clone git://k
I had same issue when creating a bare repo.
I solved it just cloning the repo, creating a local master branch and then pushing master to the remote repo.
1) clone the repo
$ git.exe clone --progress -v "the remote path" "my local path"
2) create a master branch locally.
$ git checkout -b master
3) commit something in the local branch
$ git add readme.md
$ git commit –m “Added readme”
4) Push local master on the remote
$ git push origin master