Create repository with default branches


At my company , for every new project created i have to :
create a develop branch
change the default branch for develop

Soon i’ll also probably have to delete “main” and create a “master” branch.

Is there a way i can create some kind of template available for everyone creating a repo which will help setting up the repo with the minimal required branches and the correct default one ?