$ ./guess_the_languageGit
Git · easy · #54

Which setting changes the name of the first branch that git init creates?

  1. branch.default
  2. init.defaultBranch
  3. core.defaultBranch
  4. remote.origin.head
git config --global init.defaultBranch main makes new repositories start on main.
Play Git ▸