{"version":"2.1.234","anchor":"git-subprocesses-get-a-more-thorough-environment-scrub","canonical_anchor":"git-subprocesses-get-a-more-thorough-environment-scrub","heading":"Git subprocesses get a more thorough environment scrub","tier":"notice","area":"Git","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234\/e\/git-subprocesses-get-a-more-thorough-environment-scrub","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.234","markdown":"### Git subprocesses get a more thorough environment scrub\n\nYour shell's git environment variables are scrubbed more thoroughly before Claude Code runs git.\n\n**What**\n\nBefore running git, Claude Code strips inherited git variables from the environment so your shell's settings cannot change what git does. The matching is now case-insensitive, covering the numbered `GIT_CONFIG_KEY_n` and `GIT_CONFIG_VALUE_n` pairs and the fixed list including `GIT_DIR`, `GIT_WORK_TREE` and `GIT_ALTERNATE_OBJECT_DIRECTORIES`.\n\n**Details**\n\n- Any inherited variable whose name collides case-insensitively with one Claude Code sets itself is also unset, so a differently-spelled duplicate cannot survive.\n\n**Evidence**\n\n`GIT_ALTERNATE_OBJECT_DIRECTORIES`\n\n- Area: Git\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}