Interview Prep/Git & GitHub/Branching Strategies and Releases

Your 40-person organisation uses GitFlow and wants to move to trunk-based development. How do you migrate?

AdvancedScenarioBranching Strategies and Releases
Answer

Situation read → This is a cultural and tooling change, not a Git command.

What I'd do →

  1. Prerequisites first: fast reliable CI, feature flags, and good test coverage.
  2. Agree the target: PRs under a day, main always deployable.
  3. Collapse develop into main: merge it, then stop using it.
  4. Pilot with one team, measure lead time and change failure rate, then expand.
  5. Keep release branches only for products with real multi-version support.

Why → Moving the branching model without CI and flags just moves the pain.

Interview tip → Frame it with DORA metrics so the benefit is measurable.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching Strategies and Releases