Note that I am not looking to change it for a specific repo.
I want to change the default branch name per account, so any new created repository will have this as default branch.
Currently the default is 'main', some time ago it was 'master'.
See Set default name for default branch in GitHub for a GitHub equivalent.
I found https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/ which is not mentioning such configuration, so it may be not existing at all.
https://docs.gitlab.com/ee/user/project/repository/branches/default.html has an option for an individual repo ("To update the default branch name for an individual project"), there is option for the entire instance or group ("GitLab administrators can configure").
I see nothing that would allow change for a given user without self-hosting own GitLab instance.


