Default to GIT_BRANCH_DEFAULT if init.defaultBranch is empty string We already do this in repo_init_head