{"version":"2.1.248","anchor":"git-subprocesses-no-longer-prompt-or-inherit-your-git-config","canonical_anchor":"git-subprocesses-no-longer-prompt-or-inherit-your-git-config","heading":"Git subprocesses no longer prompt or inherit your git config","tier":"notice","area":"Git Integration","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/git-subprocesses-no-longer-prompt-or-inherit-your-git-config","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Git subprocesses no longer prompt or inherit your git config\n\nGit commands Claude runs can't prompt you for credentials or trust unknown SSH hosts anymore.\n\n**What**\n\nGit commands run by Claude Code now start from a scrubbed environment rather than inheriting yours. Terminal prompting is disabled, the credential helper is blanked, the Windows credential manager is set to non-interactive, and SSH runs with `BatchMode=yes` and `StrictHostKeyChecking=yes`. A repo's own hooks path is also checked against `\/dev\/null`.\n\n**Details**\n\n- The rev-parse call now passes an option that stops the parent environment being extended into the child.\n- Effect: a git operation that would have blocked waiting for a password or a host-key confirmation now fails fast instead of hanging.\n\n**Evidence**\n\n`core.sshCommand=ssh -o BatchMode=yes -o StrictHostKeyChecking=yes`\n\n- Area: Git Integration\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}