windows command prompt can't seem to recognize git. Even if I enquired the version via (git --version), it keeps saying git is not recognized. I don't know if my machine has git installed. I was also to clone my git hub repo to my machine, but git is not working in my computer.
Asked
Active
Viewed 544 times
-1
-
https://stackoverflow.com/search?q=%5Bgit%5D+is+not+recognized+as+an+internal+or+external+command%2C+operable+program+or+batch+file – phd Jun 19 '23 at 21:36
3 Answers
1
- if Git is not installed, install and check.
- if git installed, then try to
close the current command prompt and reopen.
refresh the computer once.
0
It is possible that git is not installed. In this case you will need to install it.
Try finding git, see https://eu.siteground.com/kb/install-git-windows-machine/
If you find git, then add it to PATH, see https://linuxhint.com/add-git-to-path-windows/
It is also possible that git is installed with another user and you do not have access to it with your user. Try finding out whether that's the case.

Lajos Arpad
- 64,414
- 37
- 100
- 175