Instructions for renaming the ‘master‘ branch in your Git repository to ‘main‘. There is no particular reason for the main branch of your repo to be called ‘master‘, so you might as well rename it rather spend eternity explaining to people that this isn’t a reference to ‘master–slave’ relationships; ‘main’ is as good a replacement as any.