{"version":"2.1.280","anchor":"private-git-directory-sync-gets-tamper-detection","canonical_anchor":"private-git-directory-sync-gets-tamper-detection","heading":"Private git-directory sync gets tamper detection","tier":"notice","area":"Git Sync","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/private-git-directory-sync-gets-tamper-detection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### Private git-directory sync gets tamper detection\n\nClaude Code now detects tampering with a working tree's private git directory and refuses to run\n\n**What**\n\nClaude Code has a new subsystem that builds and reuses a private, admin-only git directory for a working tree. It now detects when a tree's `.git` directory has been moved, replaced, turned into a symlink, or points at object stores it doesn't own, and refuses to run git commands against that tree when this kind of tampering is found.\n\n**Why**\n\nThis protects against git operations running against a working tree whose git metadata has been unexpectedly altered or swapped out, which could otherwise lead to operating on the wrong data without warning.\n\n- Area: Git Sync\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}