A. Type git init into your command line and press enter.
B. Run your command again, you probably were running git remote add origin [your-repository].
See if you are actually under a GitHub repo. Listing of .git/ should give you results. If you notice that you are some level outside your repo. All you need to do is 'cd' to your repo and you should be out of this issue.