I came across this the other day when I cut and pasted new repository instructions on GitHub. Someone should probably write a bug report because it confuses almost everyone I know.
The problem is that the instructions indicate that you are creating a remote server that uses the https protocol, not the git protocol. I usually use:
github_username=CodeGnome git remote add origin "git@github.com:${github_username}/${PWD##*/}.git" git push --tags --set-upstream origin master
to populate a new GitHub repository from an existing local.
Todd A. Jacobs
source share