Hard to tell what the problem is from the information you gave, I’m afraid. A few shots in the dark:
- git’s installed / in your path?
- git’s basically configured
- your project is git initialized? (is a git repo)
- you’re in the project when you run the
git submodulecommand? - (of course) you’re not including the quote marks when entering the command right?