- Home
- Capabilities
- Code Git Workflow
Git Workflow Standard
Quick Reference
What & Why
Definition
>= 95% of code changes follow trunk-based development or GitHub flow (feature branches < 2 days old).
Business Value
Prevents 95% of direct-to-main commits and catches code quality issues 3-5 days earlier through automated PR reviews and branch protection Achieving >= 95% branches merged within 2 days is a key milestone toward this goal.
Context
This capability is part of the Foundation milestone's focus on establish baseline practices (testable, releasable, monitorable). Essential for teams targeting LT, CFR improvements.
Success Criteria
Target
>= 95% branches merged within 2 days
Measurement
Git analytics: branch age at merge time
Evidence
- Git branch policy config
- Branch age distribution chart
- Team workflow doc
In Practice
Real-World Implementation
Developers create feature branches, commit daily, open PR within 1 day, merge to main within 2 days using PR review.
Concrete Example
Implementation Guide
Implementation Steps
Follow the measurement approach: Git analytics: branch age at merge time
For detailed step-by-step guidance, refer to the Code Quality & Review Standards Implementation Kit.
Resources
Implementation Kit
Code Quality & Review Standards KitTemplates
Browse all templatesRelated Resources
View learning pathsRelated Capabilities
Enables
What this unlocks
Complementary
Often adopted together, from the Code Quality & Review Standards epic
Troubleshooting & FAQs
Common Issues
Issue: Target metric not improving
Solution: Verify measurement is accurate, check if prerequisites are fully implemented, review evidence artifacts for completeness
Issue: Team resistance to adoption
Solution: Start with pilot team, demonstrate value with metrics, provide training and support during transition
Issue: Inconsistent implementation across teams
Solution: Create shared templates and guidelines, establish regular sync meetings, use automation to enforce standards
Frequently Asked Questions
Can we implement this before completing prerequisites?
While possible, it's not recommended. Prerequisites ensure foundational practices are in place, making this capability more effective and easier to adopt.
How long does implementation typically take?
Most capabilities can be implemented within 90 days when tackled as part of the Foundation milestone. Individual timelines vary based on team size and existing practices.