How do you promote a change across environments with Git as the source of truth?
IntermediateProductionBranching and workflow design
Answer
CI builds an image and a bot opens a PR bumping the image tag in the dev overlay, merge deploys to dev automatically, and subsequent promotion PRs bump staging and prod after checks pass or approval. Every deploy is a commit, so rollback is git revert and audit is git log.
More on Branching and workflow design
How would you choose a branching strategy for a team of 40 engineers shipping a SaaS product several times a day?IntermediateWhen is GitFlow still the right choice in 2026?IntermediateHow do you support multiple released versions (1.x, 2.x, 3.x) without chaos?AdvancedHow do feature flags change your merge and release process?IntermediateWhat branch naming and commit conventions do you enforce and how?BeginnerSquash, merge commit or rebase: what do you set as the allowed method on production repos and why?Intermediate