The repository strategy is not really a Git decision. It is an architecture, ownership, and team-boundary decision.
When a team starts building multiple services, one question usually appears sooner or later:
Should we keep everything in a monorepo, or should every service have its own repository?
The discussion often turns into a familiar list:
Monorepo = easier collaboration
Polyrepo = better isolation
Monorepo = easier refactoring
Polyrepo = better team autonomy
All of these can be true.
And yet, they don't answer the question that actually matters:
Which repository structure will make our engineers more effective as the system and organisation grow?
After working with distributed systems, microservices, shared libraries, CI/CD pipelines and multiple engineering teams, I've found that the repository itself is rarely the root problem.
The more important questions are:
Who owns the code?
How often do services change together?
How tightly coupled are the teams?
How are
Discussion
Get the discussion rolling
A single comment can start something great.