Create main branch if no branches exist
What does this MR do?
Currently when we create a branch and the repo is empty master
branch is created by default.
Let's create main
branch in this case instead
Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/323925
Edited by Igor Drozdov