Interview Prep/Git & GitHub/Branching and workflow design

How do you decide when to split a repo or merge repos together?

IntermediateProductionBranching and workflow design
Answer

Split when teams have independent release cadences, ownership and tooling, and the shared surface is a stable API. Merge into a monorepo when changes routinely span repos, versioning shared libraries causes pain, or you want atomic refactors. Count how often a typical change touches more than one repo. If it is above roughly one in five, the repo boundary is costing you.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching and workflow design