News

Move the master branch to main with the command: git branch -m master main Push the newly-named main branch to GitHub (assuming that is your remote repository) with the command: git push -u origin ...
GitHub renamed the master branch to main for any Git repository, as it addresses cultural change like so many organizations that have nixed master-slave terminology in a time of social unrest.
GitHub users can already nominate whatever terms they choose for the various versions and branches of a project. But the change to the default terminology is likely to have a widespread impact on ...