The safety nets that protect production
Lesson 1 of the module "Safety nets and rollback" in the course "Git for PMs: ship as a team without putting production at risk".
Lesson objective
By the end of this lesson, you will be able to audit a repository's safety nets (branch protection or rulesets, required checks, mandatory review, preview and staging, feature flags, progressive rollout) and propose, with a metric, the ones it lacks most.
Where it fits
Safety nets and rollback
What stops a mistake from reaching users, and what do I do if it gets through anyway?
Lessons in this module
- The safety nets that protect production (this lesson)
- Undo a change without making things worse
What you will learn in the course
This lesson is part of the course Git for PMs: ship as a team without putting production at risk
- Read an existing repository and its pipeline (README, CONTRIBUTING, CODEOWNERS, CI workflows, environments) to know who reviews what, what gets checked and what goes to production, and when.
- Work on a short-lived branch with everyday Git commands (or their GitHub equivalents), small commits named by convention, and stay in sync with main.
- Open a small, well-described pull request, get the right review, pass the required checks, validate the preview and choose the merge method.
- Resolve a simple merge conflict calmly, on the command line or in GitHub, and know when to ask for help.
- Assess a repository's safety nets (branch protection, required checks, mandatory review, feature flags, staging, progressive rollout) and propose the missing ones.
- Choose the right way to undo a change (restore, revert, reset, deployment rollback) depending on whether it is local, pushed, merged or already in production.
- Keep an AI coding agent under control in a team repository (dedicated branch, written rules, protected secrets, proof of verification, human review before merge).
- Tie merged changes to a release (tag, semantic versioning, changelog) and write release notes that help users.
Related courses
- Explain how a web product works, from browser to serverAll levels · ~2 hr 30 min
- Design and test an API integration as a PMJunior · ~3 hr
- Model your product’s data and query it with SQLJunior · ~3 hr 30 min