The Gitflow branching model is a branching strategy that defines two main types of branches: long-lived branches and short-lived branches.
- master branch: This branch represents the production-ready code and should always contain the latest stable release of the software. The master branch is created from the develop branch when a new release is ready.
- develop branch: This branch represents the mainline development code and should always contain the latest changes that are being worked on by the development team. All feature branches and hotfix branches are created from the develop branch.
- feature branch: This branch is used to develop a new feature or functionality. A new feature branch is created from the develop branch and is merged back into the develop branch once the feature is completed.
- release branch: This branch is used to prepare for a new production release. A new release branch is created from the develop branch and is merged