GitFlow and branching strategies for teams
CI/CD needs a clear branching model: who merges where, how releases are cut, and how hotfixes land. GitFlow uses long-lived `develop` and `main`, feature branches, release branches, and hotfix branches. Trunk-based and GitHub Flow favor short-lived branches and continuous integration to `main`. Pick what matches your release cadence and team size.