Change default branch for Git repository

You can now change the default branch of your project Git repositories.

Just go to Project Settings > Git Settings , select the git repository you wish to edit, go to the Default branch section and choose a branch from the dropdown menu , then click Update Repository.

The default branch will be the first branch checked out in a Git clone. It will also appear at the top of the branch list on your Git page in Backlog.

Note: The default branch cannot be deleted.