{"name":"GIT_TERMINAL_PROMPT","slug":"git-terminal-prompt","family":"env","title":"Environment variables","noun":"environment variable","description":"Git commands no longer hang forever on a Windows credential manager popup.","description_source":"entry","described_by":{"version":"2.1.229","anchor":"git-commands-no-longer-hang-on-credential-manager-popups"},"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.285","anchor":"git-subprocess-env-git-allow-protocol-now-a-shared-value-p","heading":"Git's security settings changed for git commands Claude Code runs","line":"Git commands run by Claude Code now take their allowed network protocols from a shared value and set `GIT_NO_LAZY_FETCH` and `GIT_TERMINAL_PROMPT`","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.274","anchor":"git-subprocess-environment-hardened-with-stricter-protocoln","heading":"Git subprocess environment hardened with stricter protocol\/network controls","line":"Git subprocesses launched by Claude Code now run with stricter network and protocol restrictions","released_at":"2026-09-16 22:36:09","reason":"found in this entry's text"},{"version":"2.1.274","anchor":"git-subprocess-helper-can-now-forward-git-terminal-prompt","heading":"git subprocess helper can now forward GIT_TERMINAL_PROMPT","line":"Git subprocess calls can now opt in to allowing the terminal credential prompt","released_at":"2026-09-16 22:36:09","reason":"named in this entry, found in this entry's text"},{"version":"2.1.248","anchor":"git-runs-with-a-pinned-environment-and-a-blocked-flag-list","heading":"Git runs with a pinned environment and a blocked-flag list","line":"Git now runs under fixed environments that block network protocols unless the operation needs them.","released_at":"2026-08-27 20:35:36","reason":"named in this entry, found in this entry's text"},{"version":"2.1.247","anchor":"every-git-command-now-runs-with-hooks-filesystem-monitors-an","heading":"Every git command now runs with hooks, filesystem monitors and prompt helpers disabled","line":"Every git command Claude runs now has hooks, filesystem monitors and prompt helpers turned off.","released_at":"2026-08-26 18:02:01","reason":"found in this entry's text"},{"version":"2.1.229","anchor":"git-commands-no-longer-hang-on-credential-manager-popups","heading":"Git commands no longer hang on credential-manager popups","line":"Git commands no longer hang forever on a Windows credential manager popup.","released_at":"2026-08-12 19:28:48","reason":"found in this entry's text"}],"entries_total":6,"docs":[{"source":"claude-code","path":"self-hosted-environments-deploy","title":"Deploy self-hosted environments to production","documented":false}],"docs_total":1,"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_INDEX_FILE","slug":"git-index-file","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."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/git-terminal-prompt","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}