Github for Windows unable to locate Git on my system when opening the command prompt

2

I have Windows 10 (German) and installed Git for Windows 2.13.2 (64 bit) at "C:\Program Files\Git".

I installed Github for Windows 0.6.2 (64 bit), the desktop version.

I can pull changes from my git repositories on Github just fine.

However, when clicking on menu Repository/Open command prompt an error message shows up saying that Github for Windows was unable to locate Git on my system.

enter image description here

I don't want to open the command prompt without Git nor do I need to install Git because I already have. Nowhere in the settings of Github for Windows I can tell it where to find Git. Adding "C:\Program Files\Git" to the Windows PATH has no effect.

How can I make Github for Windows open the Git bash?

Trilarion

Posted 2017-07-09T12:18:49.743

Reputation: 127

1You probably need to add C:\Program Files\Git\bin to your path. Note the \bin at the end. – DavidPostill – 2017-07-09T12:34:14.237

@DavidPostill Yes, that did the trick. My mistake. – Trilarion – 2017-07-09T12:41:04.040

Great! Answer added :) – DavidPostill – 2017-07-09T12:43:55.960

Answers

4

Adding "C:\Program Files\Git" to the Windows PATH has no effect.

Git installations usually have a bin subdirectory containing the .exe files.

Add C:\Program Files\Git\bin to your path. Note the \bin at the end.

DavidPostill

Posted 2017-07-09T12:18:49.743

Reputation: 118 938