Like merging errors, or rebase errors. Does it have a unique error code?
Error 128, with no error message from git, could be a catch-all for "unexpected problem".
I was getting this on operations that needed to modify files under .git (e.g. "git checkout -- myfile" to revert a modified file) by a different user. (In my case "chmod -R og+w .git" fixed it; naturally, don't do that unless you understand the security implications for your case!)