Create multiple branches on new repository creation

I’m using a self-hosted community edition GitLab server.
I want to create multiple branches when any new repository create. And all those branches should be protected, and I would like to manage them globally as I have to create all three branches and configure them manually, which is not an appropriate method.