Interview Prep/Git & GitHub/Branching and workflow design

How do you design Git workflows for regulated environments (SOX, PCI, ISO 27001)?

AdvancedProductionBranching and workflow design
Answer

Enforce separation of duties: no direct pushes, at least one independent approver who is not the author, required status checks, signed commits where policy demands it, immutable audit logs of merges and deployments, and approvals recorded in the PR. Use environments with required reviewers for production deploys and stream the org audit log to a SIEM. The evidence is the PR, the check run and the deployment record, so make each of them complete and undeletable.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branching and workflow design