The idea here is to follow the default gitlab flow
see : https://docs.gitlab.com/ee/user/project/repository/branches/default.html#update-the-default-branch-name-in-your-repository