GitHub to change ‘master’ and ‘slave’ coding terms deemed as 'oppressive metaphors,' racially 'inappropriate' | Inquirer Technology

GitHub to change ‘master’ and ‘slave’ coding terms deemed as ‘oppressive metaphors,’ racially ‘inappropriate’

/ 06:31 PM June 18, 2020

GitHub

Image: Instagram/@github

Microsoft-owned computer code company GitHub will be replacing the terms “master” and “slave” from its system, as the said words are criticized for being racially insensitive. GitHub’s move came amid ongoing protests against racism in the United States, after the death of African American George Floyd last May.

The company’s chief executive officer, Nat Friedman, confirmed that they are replacing the terms, as per a Twitter post last Friday, June 12. Google developer advocate Una Kravets in a reply tweet suggested to rename the default branch structure from “master” to “main.” Friedman commended the suggestion and said they are “already working on this.”

Article continues after this advertisement

The default branch in GitHub, also referred to as the “master branch,” is considered the base branch in one’s code repository. This is where all pull requests and code commits are automatically made, unless the user specifies another branch explicitly.

FEATURED STORIES

https://twitter.com/natfriedman/status/1271253144442253312

Kravets added that “main” is a more favorable term to use instead of “master” because it is shorter and easier to remember.

Article continues after this advertisement

“If it makes any of my teammates feel an ounce more comfortable, let’s do it!” she said. “If it prevents even a single black person from feeling more isolated in the tech community, feels like a no brainer to me!”

Article continues after this advertisement

Article continues after this advertisement

GitHub previously expressed its solidarity with the Black community and stated that the company “will continue to take action” against racism and injustice, as per its Twitter post on June 8.

The company also extended its support to its black Hubbers and developers, and acknowledged the deaths of African Americans Breonna Taylor, George Floyd, Ahmaud Abery, Tony McDade and countless others who “deserve justice.”

Article continues after this advertisement

A spokesperson of GitHub likewise confirmed the changes, according to Gizmodo on Monday, June 15.

The three changes as per report are: first, that of “the default branch name for new repos (repository) away from ‘master’”; second, “making it easy for users to choose their own default branch name for all new repos created”; and third, “releasing guidance and tools for users who may choose to rename their default branch in existing repos.”

Web developer Scott Hanselman also demonstrated how to rename the default branch from master to main in his blog on June 8. Hanselman cited Internet Engineering Task Force (IETF) in explaining that the master and slave terms used in coding “is an oppressive metaphor.” The terms are also noted as “inappropriate,” “arcane” and “technically and historically inaccurate.”

“There’s lots of more accurate options depending on context,” Hanselman stated. “[It] costs me nothing to change my vocabulary, especially if it is one less little speed bump to getting a new person excited about tech.” Cha Lino/JB

RELATED STORIES:

LEGO halts digital marketing of police sets, pledges $4M for black charities

Your subscription could not be saved. Please try again.
Your subscription has been successful.

Subscribe to our daily newsletter

By providing an email address. I agree to the Terms of Use and acknowledge that I have read the Privacy Policy.

Google’s internship program goes virtual this summer

TOPICS: coding, GitHub, Microsoft, Racism
TAGS: coding, GitHub, Microsoft, Racism

Your subscription could not be saved. Please try again.
Your subscription has been successful.

Subscribe to our newsletter!

By providing an email address. I agree to the Terms of Use and acknowledge that I have read the Privacy Policy.

© Copyright 1997-2024 INQUIRER.net | All Rights Reserved

This is an information message

We use cookies to enhance your experience. By continuing, you agree to our use of cookies. Learn more here.