Directory-sync now detects if git config changed while being read and refuses to trust it
When Claude Code's directory-sync feature decides whether it's safe to run git in a synced checkout, it now takes a fingerprint of each git config file (its device, inode, size, and change time, plus a hash for small files, following symlinks) both before and after reading it. If the fingerprint changed during the read, or a follow-up check shows the config changed since it was read, Claude Code now refuses to run git there rather than trusting a config that might have been altered mid-read.
This guards against acting on a git configuration that was modified while it was being read, which could otherwise lead to running git with stale or tampered settings.