I'm trying to learn Github and following this video. I keep getting 'git' is not recognized as an internal or external command, operable program or batch file.
in cmd. I tried adding it to the PATH environment variable, but have no clue where Git.exe is located, or even if the install was succesfull. I'm running Windows 8.1 64bit and in control panel there is GitHub by GitHub inc. In C:\Program Files\Git
there is one file called mtab
Asked
Active
Viewed 7,063 times
1

Celeritas
- 14,489
- 36
- 113
- 194
2 Answers
3
Instead of trying to reference the embedded git.exe
packaged with GitHub Desktop (that path is quite complex), simply uncompress the latest git for windows which is PortableGit-2.6.4-64-bit.7z.exe
anywhere you want.
Then add to your %PATH%
:
C:\path\to\PortableGit-2.6.4-64-bit\bin