this post was submitted on 24 Nov 2025
50 points (94.6% liked)

Hacker News

3286 readers
392 users here now

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] velindora@lemmy.cafe 15 points 1 month ago (2 children)

Git borrowed the term “master” from BitKeeper, the proprietary tool the Linux kernel used before Git existed.

In BitKeeper, a “master repository” referred to the authoritative repository in a set of distributed clones. When Linus Torvalds created Git in 2005, he followed that naming convention and called the primary branch “master”.

[–] The_Decryptor@aussie.zone 3 points 1 month ago (1 children)

Should have followed Subversion so we'd have "trunk" with the branches coming off it.

[–] kibiz0r@midwest.social 5 points 1 month ago* (last edited 4 weeks ago)

The trunk metaphor doesn’t work very well in Git, because branches aren’t long-lived containers of sequential commits the way they are in SVN. There is no “root” commit that is guaranteed to have a consistent relationship with main, because branches are just names attached to a commit and can be reassigned at will.

[–] rozodru@pie.andmc.ca 1 points 1 month ago

huh I always assumed it was just taken from how HDD's used to work back in the way if you ran multiple on your machine. you had to designated on the motherboard and/or HDD which hard drive was the "Master" and which was the "Slave"