{"name":"GIT_CONFIG_GLOBAL","slug":"git-config-global","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.202","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":96,"mined_builds":150,"first_cited":{"version":"2.1.227","released_at":"2026-08-10 20:56:57","spans":5}},"aliases":[],"entries":[{"version":"2.1.290","anchor":"git-bundle-upload-for-cloud-sessions-hardened-further","heading":"Uploading a repository to a cloud session refuses more unusual setups","line":"Uploading your git checkout to a cloud session now runs more checks and gives specific refusal messages for unusual setups","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"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, named in this entry"},{"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, named in this entry"},{"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.269","anchor":"agent-proxy-can-now-inject-extra-git-includepath-and-prepen","heading":"Agent proxy can now inject extra git include.path and prepend to PATH","line":"The agent\/tool proxy can now add extra git config includes and prepend a directory to PATH","released_at":"2026-09-11 18:12:49","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.242","anchor":"plugin-file-access-is-confined-to-the-project-and-blocked-fr","heading":"Plugin file access is confined to the project and blocked from credential folders","line":"Plugin file reads stay inside the project and cannot touch credential folders.","released_at":"2026-08-24 19:16:14","reason":"found in this entry's text"}],"entries_total":11,"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_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."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/git-config-global","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}