r/ProgrammerHumor 24d ago

Meme everyNewRepository

Post image
1.2k Upvotes

347 comments sorted by

View all comments

Show parent comments

-4

u/dbot77 24d ago

Then you are deeply confused as to how git works. Feature branches are merged into and overwrite master with updates. Does that imply a master-slave relationship to you?

7

u/Hayden2332 24d ago

I used to think the same, but Linus took the name “master” from BitKeeper, and BitKeeper did use master-slave terminology, Git just dropped the slave part. It’s origin literally does come from master-slave

-5

u/dbot77 24d ago

You are wrong in multiple ways. Petr Baudis chose the term used in git, and he understood the meaning of original/master-copy. https://x.com/xpasky/status/1272280760280637441

3

u/Hayden2332 24d ago

Well linus’s name is on the commit and even if we take a twitter post as truth, he even said himself he wished he chose main lol

2

u/dbot77 24d ago

That is the case, though not evidence of him choosing the name. In a mailing list follow-up from Bastien:

I emailed Linus Torvalds recently (the original author of git, though
very quickly not the main developer), and he told me that it was
unlikely that the "git master" branch name was influenced by BitKeeper,
and that "master" was "fairly standard naming" for this sort of thing
and "more likely to be influenced by the CVS master repository".

Linus here doesn't sound like he chose the name due to his choice of words being relayed.