RevParseHeadAsync and CommitAsync's identity-error detection match English-only substrings against git stderr. Under a non-English OS/git locale these silently fail to match, falling through to a generic error. Force LC_ALL=C and LANGUAGE=C on the git ProcessStartInfo so git always emits English output regardless of ambient locale.