Under the hood
Git version checks are now cached per binary and time out after 10 seconds
What
Claude Code checks the installed version of git to decide whether certain git flags are safe to use. That check now remembers its result per git binary instead of re-running git --version every time, and the check itself is now capped at 10 seconds so it can't hang indefinitely.
Why
Caching avoids repeatedly spawning git --version, and the timeout prevents a stuck or slow git invocation from blocking Claude Code.