Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Moving away from Master as the default name for Branches in Git

Over the last few weeks there has been ongoing discussion within the Git project and teams at Bitbucket, Gitlab, GitHub and other industry providers about Git’s use of ‘master’ as the default name for the first branch that is created on a repository.

‘Master’ appears to be an inherited reference from BitKeeper which was adapted from a common technological analogy where asymmetric data & process relationships are described. Unfortunately, this analogy also evokes the painful history of human slavery and is considered offensive by some members of our community.

We at Atlassian believe that using more descriptive and inclusive language will improve the Bitbucket experience, and support the changes that the Software Freedom Conservancy and the Git project have proposed, including specifying the default name used for the first branch.

While waiting for these changes to be made by the Git project, Atlassian will make it easier for users of Bitbucket Cloud, Server and Data Center to define their preferred default branch names for new repositories via our UI.

To follow our progress on the above changes, take a look at our public issues tracking this topic:

And for those teams that want to change their default branch names on existing repositories today, please check out these links below:


The name of "master/slave drive" ( was an influence from before that. The direction towards acknowledging Git's wording is a step towards changing Operating System drive naming code officially too.

I added the official statement made here by Atlassian to as an edit.

As of Git v2.28, it is possible to set the default branch name on your local machine as follows:

git config --global init.defaultBranch main
Like Steffen Opel _Utoolity_ likes this

Thanks for the info


Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,831 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you