Scoop creates a git.exe in %USERPROFILE%\scoop\shims
This binary is not the actual git, it's a shim that invokes the real one.
Source cannot handle it and returns this error:
git log failed with code -1
and then crashes.
By adding the directory fo the real git in the PATH (before the shim) the error disappers.