I am following the instructions given here to create a Git repository. All went well until the last line:
$ git push -u origin master
Your config file does not include any references to "origin" remote. That section looks like this:
[remote "origin"] url = git@foo.com:repository.git fetch = +refs/heads/*:refs/remotes/origin/*
You need to add the remote using git remote add before you can use it.
git remote add