By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Version control (Git) is the system that tracks changes to code, enabling teams to collaborate safely, experiment with features, and roll back mistakes. For PMs, understanding Git workflows—like branching, pull requests (PRs), and merges—isn’t about writing code but orchestrating how features are built, tested, and shipped. Example: A fintech startup launching a "One-Click Checkout" feature might use Git branches to isolate the work (e.g., feature/one-click-checkout), test it in staging, and merge it to main only after security reviews and user testing. Without Git, teams risk overwriting work, deploying broken code, or losing track of what’s live.
feature/one-click-checkout
main
feature/x
hotfix/y
develop
feature
release
hotfix
MAJOR.MINOR.PATCH
2.5.1
MINOR
How a PM Engages with Git Workflows (Example: Launching a "Dark Mode" Feature)
feature/dark-mode
PM Action: Document the branching strategy in the PRD (Product Requirements Doc) so stakeholders know where to test.
Track Progress via PRs
Engineers open a PR when the feature is ready for review. PMs:
Coordinate Testing in Staging
PM Action: Run a quick user test (e.g., 5 internal users) and log bugs as GitHub issues.
Greenlight the Merge to main
PM Action: Update the release notes (e.g., "Dark Mode now available in Settings!") and notify customer support.
Monitor Post-Launch
Mistake: Assuming "merged to main" = "shipped to users." Correction: Merging to main often triggers a CI/CD pipeline (e.g., automated tests, deployment to staging). PMs should confirm the feature is live in production (e.g., check the app/website).
Mistake: Ignoring PRs until the last minute. Correction: PRs are a PM’s early warning system. Review them early to catch misaligned work (e.g., an engineer building a "Dark Mode" toggle in the wrong place).
Mistake: Letting engineers work in long-lived branches (e.g., feature/x for 3 months). Correction: Advocate for trunk-based development or short-lived branches (max 1–2 weeks). Long branches = merge hell and delayed feedback.
Mistake: Not documenting the branching strategy. Correction: Add it to the PRD or team wiki. Example: "All features must be merged to develop by EOD Thursday for Friday’s release."
Mistake: Treating Git as "engineering’s problem." Correction: Git workflows directly impact your roadmap. Example: If engineers are stuck resolving merge conflicts, your feature launch is delayed.
Answer: Advocate for a hotfix branch (e.g., hotfix/login-bug) to fix the bug immediately, then merge it to main and develop. The feature branch can continue separately. Use SemVer to label the hotfix (e.g., v1.2.1).
hotfix/login-bug
v1.2.1
"An engineer says, ‘This PR is ready to merge.’ What questions do you ask?"
Answer:
"How do you decide when to merge a feature branch into main?"
Answer: Use a checklist:
Tricky Distinction: "Feature Branch vs. Trunk-Based Development"
release/2.0
2.0.0
2.0.1
Why: Git Flow’s rigid structure can cause delays. Trunk-based development or feature flags are more flexible.
An engineer says, ‘We can’t merge this PR because of conflicts.’ What’s your next step?
Why: Merge conflicts block progress. PMs should unblock engineers by clarifying priorities (e.g., "Fix this now vs. later").
You’re launching a feature, but the PR is stuck in review for 5 days. How do you unblock it?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.