githistory

What is the origin of the name 'master' as default branch name?


I am seeing that the new name for the git default branch will be changed from master to main And that made me wonder:

I did not find anything about it on the git documentation, and was wondering if somebody had some answers or some archives/anecdotes on this naming decision.

I'd like to trace the origin of the name.


Solution

  • As mentioned in the mailing list

    And from "Git Origin Story", Linus Torwalds used BitKeeper before switching and developing Git.

    The result was "Allow overriding the default name of the default branch".