I got the following error, git is not recognized as an internal or external command, operable program or batch file. I read in some forums that i need to add the /bin & /cmd paths to 'System variable' I've done that but am still running into the same error. Already restarted by computer. Ideas?
Asked
Active
Viewed 9,247 times
-1
-
We need more information about your setup. Also, how do you know git is installed? – TinyTheBrontosaurus Feb 08 '16 at 01:35
-
3Possible duplicate of ['git' is not recognized as an internal or external command](http://stackoverflow.com/questions/4492979/git-is-not-recognized-as-an-internal-or-external-command) – Hatchet Feb 08 '16 at 02:29
-
1I don't think you have correctly set your PATH to point at your git installation. – the_unknown_spirit Feb 08 '16 at 05:27
-
Type `echo %git%` from the Command Prompt. What do you see? – Tim Biegeleisen Feb 08 '16 at 05:31
-
I downloaded the Git desktop application – Asad Hassan Feb 09 '16 at 01:58
-
also typing 'echo %git%' gives me %git% – Asad Hassan Feb 09 '16 at 01:59
1 Answers
0
Had same issue , I had setup the environment variables but still was not able to use git from command window . Finally it worked when I added the path variable value to
C:\Program Files\Git\cmd
instead of
C:\Program Files\Git\cmd
This will also be populated automatically if you select the option of use GIT from command prompt as shown below during your installation process .enter image description here

darkHorse
- 13
- 8