Skip to main content
    DevOps
    Way of Working
    1. Home
    2. Capabilities
    3. Code Git Workflow

    Git Workflow Standard

    Foundation
    Phase: code
    LT
    CFR

    Quick Reference

    Phase
    code
    Epic
    Code Quality & Review Standards
    Milestone
    Foundation
    Target
    >= 95% branches merged within 2 days
    Implementation Time
    Part of Code Quality & Review Standards epic: 2.5 weeks (17 hours per capability avg)

    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

    Developer creates 'feature/add-search' branch Mon 9am, commits 4 times Mon-Tue, opens PR Tue 2pm, merged Wed 10am (48hr lifecycle).

    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 Kit

    Templates

    Browse all templates

    Related Resources

    View learning paths

    Related Capabilities

    Enables

    What this unlocks

    PR Review Checklist
    PR Review Turnaround SLA
    Release Branch Strategy
    AI-Assisted Merge Conflict Resolution

    Complementary

    Often adopted together, from the Code Quality & Review Standards epic

    Conventional Commit Messages
    Pair/Mob Programming
    Code Readability Standards

    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.

    DevOps
    Way of Working

    DevOps practices for the entire delivery lifecycle

    © 2019-2026 devopswow.com. Created by Burhan Öcüt

    PartnersAboutPrivacyTermsCookies