HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
github
renaming
OPEN SOURCE2020–2025
github / renaming · Archived

renaming

Guidance for changing the default branch name for GitHub repositories

16Distinct people
16Mentions
0Explicit recommenders
2.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Guidance for changing the default branch name for GitHub repositories

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 11:56:56 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year16 dated mentions

Observed mentions: 2020-07-17 19:06:33 UTC to 2025-11-24 07:25:20 UTC.

02468102020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 9 mentions; 6 submissions, 3 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC963
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC202

What Hacker News says

16 sources
I’m disappointed that this headline will lead to more clicks. This is your reminder that in git the branch name is just a pointer to a commit. Renaming that pointer is relatively seamless on GitHub (https://github.com/github/renaming?tab=readme-ov-file#rename...). Also, git 3.0 isn’t forcing this change on existing repos, just new ones that no automation depends on. And if you really like the old name that’s always an option for your repos. Remember, it’s just a pointer. The other git 3.0 changes are more consequential and worthy of discussion - changing from SHA-1 to SHA-256 for greater security and performance, changing the storage format for performance and introducing Rust.
In Git 3.0 will use main as the default branch
There's a standard GitHub uses for license files (which must be at the root of the repo) which fills in the "license" field on the right column of the repo. If the standard isn't met then the link just says "View license". I imagine TabNine is pulling the license from the GitHub API. https://docs.github.com/en/repositories/managing-your-reposi... https://github.com/Vedenin/useful-java-links When master branch is renamed to main, GitHub redirects any old links. https://github.com/github/renaming#renaming-existing-branche...
In Next-generation AI models
Another potential issue with a change like this, for the reason that they give for doing it, is that it may communicate an inaccurate picture of what black people care about to non-black people. "Oh wow, black people are offended by and 'hurt by'[0] the use of this term. I didn't know this would make them feel hurt!" Articles like this clarify that at least some black people in fact do not feel "hurt by" this use of this term. I'm Jewish, if someone said "we have to take all the swastika imagery off this Hindu graphic because it will offend and hurt Jews," that would bother me. I'm not offended, much less hurt, by seeing a swastika in a cultural context unconnected to Naziism. To suggest most Jews would be "hurt" by this paints an inaccurate and extremely unflattering picture of my own resiliency and ability to contextualize words and ima
Read the rest
gery. I can't speak for black folks but I would be surprised if some didn't feel similarly about being informed that reading the word "master" would or should offend and hurt them. 0: https://sfconservancy.org/news/2020/jun/23/gitbranchname/ (this is the rationale linked to by github[1]) 1: https://github.com/github/renaming
In GitHub, fuck your name change
Well 'main' is a more intuitive & UX friendly name than 'master' which new devs are going to intuitively relate to as it's commonly used to refer to the 'main thing', e.g. main road, main course, etc. I can't recall the last time I used 'Master' as a synonym to 'main' outside of technology (as a Redis Client author I still deal with Master nomenclature a bit). Can only think of 'Masters degree' but that has to do with Mastery knowledge rather than 'Master copy'. The only other usages of 'Master' I can think of (from TV & Films) is basically what they're trying to move away from. As a library author I often deprecate & rename new APIs when I can think of (or have been proposed) a more appropriate and a descriptive name to replace a misleading name. I put a lot of weight into the name of symbols as it basically has the largest bearing in un
Read the rest
derstanding its functionality & purpose. This is effectively what GitHub is doing, deprecating 'master' in favor of 'main' for new repos, which I don't see a problem with as it's looking pretty clear that all new technology is moving away from master/slave terminology - I don't see why Software needs to be forced to use their old legacy names forever if they're able to deprecate it and move to new more appropriate naming without immediate breaking changes. This change hasn't broken any of my 100+ existing repos, GitHub is only changing the default branch to 'main' for new repos & have implemented a bunch of work behind the scenes to reduce the friction for orgs & users who also wish to rename their existing mater branches [1]. I don't understand the hate this effort to more modern & inclusive naming is inciting, if you want to criticize GitHub for their lack of action in other areas, criticize that instead. [1] https://github.com/github/renaming#renaming-existing-branche...
In GitHub, fuck your name change
Indeed, waiting a bit would have been a reasonable thing to do, instead the change was sanctioned on the same day. The Santa Hat change most likely also made it so much easier to move forward with the renaming of the master branch on GitHub. One could also argue that the master branch name should have been changed back in 2014 in connection with the Ferguson unrest and the killing of Michael Brown. Source: https://github.com/github/renaming
In Facebook hate-speech boycott had little effect on revenue

Showing the 15 most recent of 16 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.