Reason For TortoiseGit – “github –credentials store: github: command not found”

GitHub and git builds for windows, are periodically updated in version,
when they do, the github.exe path location changes.

for example (I’m using 8.3 short path, and I suggest you’ll use it too)

it used to be:

and now it is


so if you are using TortoiseGit and every now and again you are getting the dialog box (SshAskPass.exe)
right after showing the following errors:

github --credentials store: github: command not found
github --credentials store: github: command not found

*git-remote-https.exe uses the following path:
"C:\Program Files\TortoiseGit\bin\SshAskPass.exe" "Password for 'https://[[your github username]]':

now you know why,

locate the github.exe in it’s new path,
use the 8.3 path (a.k.a short path) and replace the old value in your registry or open C:\Windows\system32\systempropertiesadvanced.exe (system properties – advanced)
and update it manually…