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

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:

3 comments

The name of "master/slave drive" (https://en.wikipedia.org/wiki/Master/slave_(technology)) 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 https://en.wikipedia.org/w/index.php?title=Master/slave_(technology)&oldid=966724873 as an edit.

Richard Cross August 18, 2020

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
Veronique DUFOUR January 9, 2021

Thanks for the info

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events