Is there any way to set the name for the default branch of new repositories?

For self-managed instances this can be configured by an administrator: Branches | GitLab

Admin Area > Settings > Repository

Adjust Default initial branch name

2 Likes