Git and GitHub README.txt

Hi everyone!
For some reason, I get the “Fatal, not a Git repository” message when I try to push the README.txt file into the GitHub repository. I am following the tutorial from the lesson, but things simply don’t go in the same direction as in the video…Any suggestions on what might the problem be?