Repos Claude Code creates now use an explicit starting branch name rather than your git default.
What's wrong with this entry?
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.
- Runs
git init --quiet --initial-branch=<name>withinit.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.
init.templateDir=
Strings lifted out of the shipped bundle, so the claim above can be checked against them.