{"name":"GIT_CONFIG_COUNT","slug":"git-config-count","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":"2.1.186","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":108,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.283","anchor":"claude-plugin-eval-requires-git-231-or-newer","heading":"claude plugin eval now needs git 2.31 or newer","line":"`claude plugin eval` now checks your git version and refuses to run with git older than 2.31","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"version":"2.1.283","anchor":"git-tlsssl-settings-passed-through-git-config-key-n-env-var","heading":"Git TLS settings set through environment variables now apply to Claude Code's own git commands","line":"Certificate and TLS settings passed through GIT_CONFIG_KEY_n and GIT_CONFIG_VALUE_n now reach git commands Claude Code runs itself","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text, named in this entry"},{"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.277","anchor":"git-env-var-passthrough-now-filters-out-hook-related-config","heading":"Git env-var passthrough now filters out hook-related config overrides","line":"Git environment passthrough now drops hook-related config overrides before spawning git","released_at":"2026-09-18 16:22:26","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.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":"found in this entry's text"},{"version":"2.1.169","anchor":"git-credential-interactive-false-injected-for-cloud-sessions","heading":"Git credential.interactive=false Injected for Cloud Sessions","line":null,"released_at":"2026-06-08 18:11:20","reason":"found in this entry's text"}],"entries_total":8,"docs":[{"source":"claude-code","path":"plugin-evals","title":"Test plugins with evals","documented":false},{"source":"claude-code","path":"self-hosted-environments-configuration","title":"Customize sessions in self-hosted environments","documented":false}],"docs_total":2,"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_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."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/git-config-count","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}