{"version":"2.1.336","anchor":"git-remote-get-url-now-passes-env-token-length-strings-reda","canonical_anchor":"git-remote-get-url-now-passes-env-token-length-strings-reda","heading":"Git push-address lookup now gets its own environment, and long URL strings are redacted","tier":"internal","area":"Git","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/git-remote-get-url-now-passes-env-token-length-strings-reda","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Git push-address lookup now gets its own environment, and long URL strings are redacted\n\nClaude Code now passes environment settings when asking git for the push address, and hides long strings taken from URLs\n\n**What**\n\nClaude Code sometimes asks git for the address it pushes to, by running `git remote get-url --push origin`. It now runs this with its own set of environment values, the settings handed to a program when it starts. Before, none were passed.\n\nSeparately, strings of 24 characters or more taken from a URL are now added to the list of text to redact, meaning hidden from output.\n\n**Why**\n\nThese are small hardening changes. Long strings in a URL are the kind that can be access tokens.\n\n- Area: Git\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}