I am following the instructions given here to create a Git repository. All went well until the last line:
$ git push -u origin master
May be you forgot to run "git --bare init" on the remote? That was my problem
git --bare init