DEV Community

Nitin Reddy
Nitin Reddy

Posted on

GitHub "main" branch

If you have created a new GitHub repository recently, you may have noticed that the default branch name is "main" instead of "master". To change the default branch from "main" back to "master" (after creating the "master" branch), and navigate to the Settings > Branches page.

The master-slave terminology has been removed from most software (MongoDB recently renamed the "rs.slaveOk" command to "rs.secondaryOk") and GitHub is doing its part in promoting equality.

Discussion (0)