Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
GitArea: what it touches
New FeaturesKind: in v2.1.248,
New FeaturesSection of the release
What
A new internal helper initialises a git repository with an explicit starting branch name, so repos Claude Code creates for you no longer depend on your machine's git default or on local repo templates.
Details
Runs git init --quiet --initial-branch=<name> with init.templateDir= forced empty, so user-configured git templates cannot inject files into the new repo.
Takes an abort signal and a timeout, and reports success purely from a zero exit code.
Evidence
init.templateDir=
Strings lifted out of the shipped bundle, so the claim above can be checked against them.