The GitFlow source control branching model typically involves three default branches (dev
, release
, master
) and multiple feature branches checked out from dev
and created by different developers or teams.
- Develop branch: is a branch that collects the developed features.
- Release branch: is a branch that is responsible for version release.
- Master branch: is a branch that stores the baseline of the latest released version.
- Feature branch: is a branch for developers to develop features.
The feature branch usually includes more than one commit to implement a single feature. Additionally, there may be multiple fix and review commits before merging the pull request.
Image source: Git Flow vs. Trunk Based Development | Toptal®
Image source: How to Select a Git Branch Mode? - Alibaba Cloud Community
References