Following the footsteps of GitHub, GitLab, a web-based open source Git repository manager, has changed the default branch name from ‘master’ to ‘main’. This move comes as a part of the company’s effort to remove unwanted references to slavery and replace it with more inclusive terms.
What is a Git repository?
To reiterate, the Git repository is the folder inside a project where users store and synchronise their source code projects. Every Git repository has an initial branch, which is created during new repository generation. By default, the name for this initial branch was ‘master.’