I am using initial branch name to main. And, i set this name in git configure file(ex. ~/.gitconfig on macos).
So, i think that command of doInitialCommit should be changed.
It would be nice to change it to use the name returned by the init.defaultBranch.
commands := []initialCommands{
...
{
description: "git push -u origin master",
command: "git",
args: []string{"push", "-u", "origin", "master"},
},
}