{"name":"GIT_SSH_COMMAND","slug":"git-ssh-command","family":"env","title":"Environment variables","noun":"environment variable","description":"Git runs with strict host-key checking and risky protocols disabled, no matter your environment.","description_source":"entry","described_by":{"version":"2.1.251","anchor":"git-commands-run-with-sanitized-ssh-and-protocol-environment"},"presence":{"first_seen":"2.1.160","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":130,"mined_builds":150,"first_cited":{"version":"2.1.275","released_at":"2026-09-17 20:20:31","spans":1}},"aliases":[],"entries":[{"version":"2.1.304","anchor":"git-ssh-over-sandbox-proxy-on-macos","heading":"Git over SSH in the macOS sandbox can go through the sandbox proxy with a credential","line":"On macOS, sandboxed git over SSH now goes through the sandbox proxy with a credential when one is available","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text"},{"version":"2.1.296","anchor":"github-ssh-to-https-check-now-works-on-windows","heading":"GitHub SSH check now reads your SSH setup on Windows","line":"On Windows, the check that decides whether to stay on SSH for GitHub now reads your SSH configuration instead of stopping straight away","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"chrome-setup-offer-now-decided-by-the-host","heading":"The app running Claude Code now decides about the Chrome setup offer","line":"Whether the Chrome setup offer appears now depends on the app hosting Claude Code, not on SSH-related environment variables","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"plugin-git-clones-now-read-coresshcommand-and-sshvariant","heading":"Plugin downloads from git now follow your git SSH settings","line":"Plugin and marketplace git clones now read core.sshCommand and ssh.variant from your git config","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"git-ssh-handling-reworked-for-vetted-clones","heading":"Git clones over SSH now respect your ssh.variant setting","line":"When Claude Code clones over SSH, it now sets `GIT_SSH_VARIANT` from your environment or git's `ssh.variant` setting","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text, named in this entry"},{"version":"2.1.275","anchor":"sandboxbyoc-git-helper-hard-disables-ssh-when-git-allow-pro","heading":"Sandbox\/BYOC git helper hard-disables SSH when GIT_ALLOW_PROTOCOL=none","line":"Git subprocesses now fully block SSH when GIT_ALLOW_PROTOCOL is set to 'none', closing a bypass","released_at":"2026-09-17 20:20:31","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.251","anchor":"git-commands-run-with-sanitized-ssh-and-protocol-environment","heading":"Git commands run with sanitized SSH and protocol environment","line":"Git runs with strict host-key checking and risky protocols disabled, no matter your environment.","released_at":"2026-08-28 15:34:26","reason":"named in this entry, found in this entry's text"},{"version":"2.1.186","anchor":"proxy-authentication-support-socks","heading":"Proxy Authentication Support (SOCKS)","line":null,"released_at":"2026-06-22 18:03:48","reason":"found in this entry's text"},{"version":"2.0.17","anchor":"socks5-proxy-support-in-network-sandbox","heading":"SOCKS5 Proxy Support in Network Sandbox","line":null,"released_at":"2025-10-15 15:46:20","reason":"found in this entry's text"}],"entries_total":10,"docs":[{"source":"claude-code","path":"plugins\/install","title":"Install and manage plugins","documented":false},{"source":"claude-code","path":"self-hosted-environments-configuration","title":"Customize sessions in self-hosted environments","documented":false},{"source":"claude-code","path":"self-hosted-environments-deploy","title":"Deploy self-hosted environments to production","documented":false}],"docs_total":3,"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-ssh-command","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}