In the dropdown menu of Repository, you can see there is a button named Open in Git Bash (Ctrl + `),
when I click it, I got a war
To make Github Desktop locate Git successfully, the URI of Git must be given in environment variable %PATH%
.
I suggest to assign %GitPath%
value of URI of Git, say C:\Program Files\Git\bin
; then append %GitPath%
to the end of %PATH%
, and don't forget about path seperator (;
).
At last, restart Github Desktop after assigning the environment variables, if it is still running.
Reference: