I'm following the instructions on importing an existing .git repository to GitHub.
When trying to add the .git repository to GitHub, I get the following error:
fatal: Not a git repository (or any of the parent directories): .git
I Googled it and that seems to mean the repository doesn't exist. However, Git GUI quite happily opens the same .git repository.
I've copy-pasted both the address to cd to and the command line to get my (existent) .git repository onto GitHub - No dice. I tested the ssh connection to GitHub; works perfectly ("You've successfully authenticated, but..." etc.).
Any ideas on what might be wrong or how to fix it?