A gitflow branching strategy for a release-managed codebase
Protected main and develop, disposable feature, release and hotfix branches, and a pre-release version marker as the environment gate, plus what actually has to enforce it, whatever your stack. How this model works when a change window, not a merge, is what ships code.
Read article