{"name":"GIT_CONFIG_SYSTEM","slug":"git-config-system","family":"env","title":"Environment variables","noun":"environment variable","description":"Git calls in the sync path now respect your custom global and system config paths.","description_source":"entry","described_by":{"version":"2.1.227","anchor":"git-calls-in-the-sync-lane-keep-custom-config-paths"},"presence":{"first_seen":"2.1.242","removed_in":"2.1.265","in_current_build":false,"newest_mined":"2.1.309","builds":15,"mined_builds":150,"first_cited":{"version":"2.1.248","released_at":"2026-08-27 20:35:36","spans":3}},"aliases":[],"entries":[{"version":"2.1.282","anchor":"private-git-directory-copy-now-refuses-on-attributeconfig-s","heading":"Private git copy now declines to run under git setups it cannot reproduce","line":"Claude Code's private copy of a repository's git directory now refuses to run when certain git environment variables or config sources are in play","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.282","anchor":"git-config-global-and-git-config-system-now-classified-as-fi","heading":"Git config location variables are now treated as file paths","line":"Claude Code now treats `GIT_CONFIG_GLOBAL` and `GIT_CONFIG_SYSTEM` as environment variables that point to a single file","released_at":"2026-09-24 15:56:22","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"isolated-git-env-drops-git-config-system-points-global-at","heading":"Isolated git env drops GIT_CONFIG_SYSTEM, points GLOBAL at \/dev\/null","line":"Claude Code's own git commands now use `GIT_CONFIG_GLOBAL=\/dev\/null` and `GIT_CONFIG_NOSYSTEM=1`, no longer setting `GIT_CONFIG_SYSTEM`","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"git-config-probe-now-reads-git-config-global-git-config-sy","heading":"Git config probe now reads GIT_CONFIG_GLOBAL \/ GIT_CONFIG_SYSTEM from the configured environment","line":"Claude Code's git config check now uses `GIT_CONFIG_GLOBAL` and `GIT_CONFIG_SYSTEM` from the environment it was given","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"windows-msys-style-paths-and-git-config-globalsystem-handle","heading":"Windows MSYS-style paths and GIT_CONFIG_GLOBAL\/SYSTEM handled in path checks","line":"On Windows, path checks now treat `\/c\/...` style paths as `C:\\...`, and a new list names `GIT_CONFIG_GLOBAL` and `GIT_CONFIG_SYSTEM`","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.274","anchor":"git-env-allowlist-changed-config-override-vars-removed-nam","heading":"Git env allowlist changed: config-override vars removed, namespace\/worktree vars added","line":"The GIT_* environment variables Claude Code sanitizes before running git changed: config-override vars dropped, namespace\/worktree vars added","released_at":"2026-09-16 22:36:09","reason":"found in this entry's text"},{"version":"2.1.248","anchor":"backups-of-secret-files-are-now-treated-as-secrets","heading":"Backups of secret files are now treated as secrets","line":"Editor swap and backup copies of credential files are now protected like the originals.","released_at":"2026-08-27 20:35:36","reason":"found in this entry's text"},{"version":"2.1.227","anchor":"git-calls-in-the-sync-lane-keep-custom-config-paths","heading":"Git calls in the sync lane keep custom config paths","line":"Git calls in the sync path now respect your custom global and system config paths.","released_at":"2026-08-10 20:56:57","reason":"named in this entry, found in this entry's text"}],"entries_total":8,"docs":[],"docs_total":0,"gates":[],"related":[{"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."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/git-config-system","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}