SyntaxFix
Write A Post
Hire A Developer
Questions
The command has to be entered in the directory of the repository. The error is complaining that your current directory isn't a git repo
ls
git init
Either of those would cause your error.