If you're using GitHub for Windows, git.exe may not be in your PATH, but you may find it in a location like: C:Users<username>AppDataLocalGitHubPortableGit_<numbersandletters>ingit.exe
That's the situation for me, in Windows 7 + version 1.0 of GitHub for Windows.
In Windows 10 it appears to be in:
C:Users<username>AppDataLocalGitHubPortableGit_<numbersandletters>cmdgit.exe
( cmd versus in)
From GitHub Desktop 1.1
The UI is different and the Git path now is in:
C:Users<username>AppDataLocalGitHubDesktopapp-<appversion>
esourcesappgitcmdgit.exe
PS: AppData is a hidden folder by default.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…