Merging combines a branch back into the main line. Most of the time it happens automatically and nobody thinks about it. Occasionally it produces a conflict, which sounds dramatic and usually isn't.
WHY CONFLICTS HAPPEN
Both branches changed THE SAME LINE of the same file.
On main, Tom changed:
retryLimit = 3
to retryLimit = 5
On her branch, Nadia changed the same line:
retryLimit = 3
to retryLimit = 10
Git cannot know which is right. It stops and asks
a human to choose. That human is an engineer, not you.
A CONFLICT IS NOT AN ERROR. Nothing broke. Two people
had different intentions about one line and somebody
has to decide. It usually takes a few minutes.
What Conflicts Tell You as a PM
Frequent conflicts on the same files usually mean two people were given overlapping work, or a branch has been open too long. Both of those are planning problems, not technical ones. If an engineer mentions a painful merge, it's worth asking how long that branch had been open — the answer is often several weeks.
I'm a product manager learning how my engineering team uses Git
and GitHub. Help me ask good questions.
WHAT I KNOW SO FAR
[what you already know - repo names, anything you've picked up]
MY PRODUCT
[web app, mobile, backend, etc - what parts exist]
Please give me:
1. Ten questions to ask my tech lead that would let me find
things myself afterwards. Order them so the answers build
on each other.
2. For each question, one sentence on why the answer helps me
specifically as a PM
3. Which three of these matter most if I only have ten minutes
of their time
4. Phrase everything so it sounds like someone learning, not
someone auditing. I don't want this to feel like scrutiny.