Revert "Don't set default git branch name"
This reverts commit 8522c50e46f02f0f379c7801fecb5f88841a095b.
My original motivation was because cgit has poor support if your default branch is not master but I switched away from cgit recently so it doesn't matter. Besides Git 3.0 will use main by default anyways.