GitHub Collaboration Branch Naming Conventions

Learning objective: By the end of this lesson, students will be able to identify common branch naming conventions.

Best practice branch naming conventions

Ideally, branch names should be descriptive and follow a consistent format. Here are some common branch naming conventions:

By following a consistent naming convention, you can easily identify the purpose of each branch and maintain a clean and organized codebase.

🧠 Branches like feature/sign-in, bugfix/home-page-error, and refactor/cat-show-component use the naming convention to the fullest potential.

Best practice branch naming conventions with collaborators

💡 When using the collaborator method, you’d still add your indentifier to the start of the branch name, making the full name of our examples above soemthing like: <identifier>/feature/sign-in, <identifier>/bugfix/home-page-error, and <identifier>/refactor/cat-show-component.