{"version":"2.1.327","anchor":"runner-git-config-handling-and-git-version-checks","canonical_anchor":"runner-git-config-handling-and-git-version-checks","heading":"Self-hosted runners keep your git config and warn sooner about old git","tier":"notice","area":"Self-Hosted Runners","scope":"org","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/runner-git-config-handling-and-git-version-checks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Self-hosted runners keep your git config and warn sooner about old git\n\nWith `--use-anthropic-git-proxy`, runners no longer overwrite an unusual `GIT_CONFIG_GLOBAL`, and an unreadable git version counts as too old\n\n**What**\n\nA self-hosted runner is a machine you run that picks up Claude Code work. Its handling of git config, the file holding git's settings, has changed when `--use-anthropic-git-proxy` is used:\n\n- If `GIT_CONFIG_GLOBAL` names a folder, or a path the runner would otherwise reset, the runner now leaves it alone, uses `~\/.gitconfig` or `.runner\/gitconfig` instead, and prints a warning.\n\n- Before, the runner wiped the home-level git config and did not handle either case.\n\nGit version checks have also changed:\n\n- If the runner cannot read its git version, it now treats git as older than 2.31.\n\n- A new warning says that sessions cloning http(s) repositories will be refused when git is too old.\n\n**Why**\n\nThe runner could previously delete or overwrite an operator's own git config. It now keeps that config and tells you which file it used instead.\n\n- Area: Self-Hosted Runners\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: yes"}