Azure DevOps now has support to set up the default branch name for new repositories. For Azure DevOps Git Repositories, by default branch name is set to master, and whenever we create new repositories, it takes that as default. Now, you can set up a new name for your default branch, and all the new repositories will be initialized from the same.
Default branch name for new repos in Azure DevOps
By default branch name for new repositories settings is turned off, and the default name is set to “master“.
From the Project Settings, Navigate to Repositories then Settings, and “turn on” the feature.
Related Tip : 10 Azure DevOps Tips & Tricks that you should know
Once this is turned on, you can not set the default branch name for new repositories.
Once this is set, for any new repositories, will be initialized from this branch.