{"name":"GIT_INDEX_FILE","slug":"git-index-file","family":"env","title":"Environment variables","noun":"environment variable","description":"Stray git environment variables in your shell can no longer misdirect worktree operations.","description_source":"entry","described_by":{"version":"2.1.222","anchor":"worktree-git-commands-run-with-a-scrubbed-git-environment"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.308","builds":0,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.248","anchor":"command-inspection-no-longer-fooled-by-proc-paths-or-git-red","heading":"Command inspection no longer fooled by \/proc paths or git redirection flags","line":"Command path checks now reject \/proc and \/dev descriptor tricks and handle git redirection flags.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.222","anchor":"worktree-git-commands-run-with-a-scrubbed-git-environment","heading":"Worktree git commands run with a scrubbed git environment","line":"Stray git environment variables in your shell can no longer misdirect worktree operations.","released_at":"2026-08-04 20:37:17","reason":"named in this entry, found in this entry's text"},{"version":"2.1.222","anchor":"git-invocations-hardened-with-sanitized-args-and-environment","heading":"Git invocations hardened with sanitized args and environment","line":"Many more git commands now run with a scrubbed environment so stray variables can't redirect them.","released_at":"2026-08-04 20:37:17","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"GIT_ALLOW_PROTOCOL","slug":"git-allow-protocol","description":"Git subprocesses now block graft files as an extra hardening measure"},{"name":"GIT_ASKPASS","slug":"git-askpass","description":"Git commands no longer hang forever on a Windows credential manager popup."},{"name":"GIT_CONFIG","slug":"git-config","description":"Claude inspects a synced checkout's git config first and refuses to run git there if it looks unsafe."},{"name":"GIT_CONFIG_COUNT","slug":"git-config-count","description":"Stray git environment variables in your shell can no longer misdirect worktree operations."},{"name":"GIT_CONFIG_GLOBAL","slug":"git-config-global","description":"Git calls in the sync path now respect your custom global and system config paths."},{"name":"GIT_CONFIG_NOSYSTEM","slug":"git-config-nosystem","description":"Plugin eval helpers ignore machine-wide git settings so results cannot be skewed."},{"name":"GIT_CONFIG_SYSTEM","slug":"git-config-system","description":"Git calls in the sync path now respect your custom global and system config paths."},{"name":"GIT_DIR","slug":"git-dir","description":"Stray git environment variables in your shell can no longer misdirect worktree operations."},{"name":"GIT_PROXY_COMMAND","slug":"git-proxy-command","description":"Every git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off."},{"name":"GIT_SSH_COMMAND","slug":"git-ssh-command","description":"Git runs with strict host-key checking and risky protocols disabled, no matter your environment."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/git-index-file","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}