The message says that GIT CLI is not in your PATH. Because then, you need to add Git to PATH. See below how to do this:
- Right click on "My Computer" and press "Properties"
- Click "Advanced System Settings"
- Click on "Environment Variables"
Right after, edit the variable PATH adding the path of GIT, both the .exe
, as to the CMD. See below for the default path you should add:
;C:\Program Files\Git\bin\git.exe;C:\Program Files\Git\cmd
It is also possible to do this via the command line. See here for this question about How to change PATH in Windows.
It’s important to check whether the Git version is 32-bit or 64-bit, because depending on the version, it changes the path on the operating system, which should also be checked.
Did you install git?! After installed, did you try to close the CMD and open again? Checked to see if git is in the environment variables?
– viana