Skip to main content

Git and Branching Strategies, Jenkins, GitHub Actions, Build Pipelines and Artifact Repositories

Learn Git and Branching Strategies, Jenkins, GitHub Actions, Build Pipelines and Artifact Repositories (Phase 12 · CI/CD and DevOps (Core), Microservices) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Git and branching strategies • Trunk-based development : short-lived branches (hours to 2 days) merged to main via pull requests, feature flags for unfinished work; fits continuous delivery. GitHub Flow : feature branch → PR → review → merge → deploy. Git Flow (develop/release/hotfix) suits scheduled releases but slows CI/CD. • Repository layout : polyrepo (one repo per service: independent pipelines, clear ownership) vs monorepo (shared code, atomic refactors; needs path-filtered pipelines and tooling like Nx/Bazel/Maven reactor). Protect main : required reviews and status checks, signed...

More lessons in Phase 12 · CI/CD and DevOps (Core)