Error: Cannot Spawn C:\Path To\TortoiseGit\Bin: No such file or directory

Anicho picture Anicho · Feb 28, 2013 · Viewed 27.6k times · Source

Trying to do a fetch from origin:

git remote update

Get the error

Error: Cannot Spawn C:\Path To\TortoiseGit\Bin: No such file or directory
fatal: unable to fork
Error: Could not fetch origin

Why is this happening? Also is there a fix?

Answer

Tsunamis picture Tsunamis · Oct 22, 2013

For me the answer was removing the double quotes of "c:\Program Files (x86)\PuTTY\plink.exe" from the environment variable GIT_SSH.