Glossary /

Main Branch

The main branch is the original thread of code for a project’s codebase. The main branch of a project is considered the default branch. When anyone visits your repo and forks or clones it, that is the branch that gets checked out and served down locally to their machine.

Most deployments of code come directly from the main branch in git. GitHub, Bitbucket, and GitLab all use “main” as the default branch. Once you have a 1:1 clone of the main branch, you can cut a feature or bug fix branch off of that. Once code is tested and checked, a pull request can be submitted to bring the changes into the main branch. Refer to the image below care of the github docs.

Branch Naming

If you want to change the name of the main branch, you can. It is advised and best practice to leave the default name to main or change the branch name to main. ‘git branch -m master main

Get Split Certified

Split Arcade includes product explainer videos, clickable product tutorials, manipulatable code examples, and interactive challenges.

Deliver Features That Matter, Faster. And Exhale.

Split is a feature management platform that attributes insightful data to everything you release. Whether your team is looking to test in production, perform gradual rollouts, or experiment with new features–Split ensures your efforts are safe, visible, and highly impactful. What a Release. Get going with a free accountschedule a demo to learn more, or contact us for more information.