Git for windows stopped working


Just overnight, all of a sudden my GIT for windows stopped working, for each repository.

Every git operation ends with a dialog saying ‘Git for Windows stopped working’ (whether it’s from GIT bash, PowerShell or SourceTree):

I’ve completely reinstalled GIT, deleted all credential helpers, (latest version, 1.9.4), deleted my .gitconfig file, deleted/reinstalled git extensions, nothing helps.

The event viewer only mentions a fault in ntdll.dll:

I don’t seem to have any new windows updates installed since yesterday, when it worked fine…

Any ideas what might have caused this all of a sudden?


I’ve been running in to this issue recently and took a deeper look at the crash just now.

After tracing git.exe‘s startup sequence with Process Monitor I noticed that the file AirfoilInject3.dll was hooking in to the startup process.

On a hunch I disabled this by removing it from the registry value HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows\AppInit_DLLs and everything is back to normal.

AirfoilInject3.dll is part of AirFoil’s “Instant On” feature. This might be the root cause of your crashes if by chance you’re using AirFoil (it’s likely safer and easier to disable this via AirFoil directly instead of hacking up the registry). If not, perhaps a similar trace via Process Monitor will yield further paths to explore.


Git for windows stopped working by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply