Git Branching Strategy
Josh enforces to adopt the following described git branching strategy to keep every project on the same page when it comes to git branching.
We strongly recommend to keep following major branches in project
origin/masterto be the main branch where the source code of
HEADalways reflects a production-ready state(production deployed code), Direct push is not allowed into this branch.
origin/stagingto be a parallel branch to
masterbranch to stage your features for QA and user acceptance testing.(staging deployed code)
Note: you can also call this branch as
origin/developto be a parallel branch of
masterbranch where the source code of
HEADalways reflects a state with the latest delivered development changes for the next release (A working copy of code for every developer)