Interview Prep/Git & GitHub/Branching strategies, pull requests and code review

What is GitFlow and what are its branches?

IntermediateConceptBranching strategies, pull requests and code review
Answer

GitFlow uses long-lived main and develop, plus feature/*, release/* and hotfix/* branches. Features merge into develop, a release branch stabilises and is merged to both main (tagged) and develop. It suits versioned products with scheduled releases and several supported versions, but is heavy for continuously deployed services.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching strategies, pull requests and code review