Skip to content

Git

Master version control from first commit to production DevOps workflows — branching, merging, rebasing, code review, and Git in CI/CD.

Overview

The REBASH Academy Git track is a structured, 20-tutorial curriculum for developers and DevOps engineers. Every commit in infrastructure-as-code, every pull request in your pipeline, and every GitOps deployment starts here. Each tutorial follows our documentation standards with theory, hands-on labs, commands, best practices, and interview questions.

Learning Path

Git is step 3 in the DevOps Engineer learning path — after Linux and Networking.

Curriculum Plan

flowchart TD
    M1["Module 1: Foundations"] --> M2["Module 2: Essential Workflow"]
    M2 --> M3["Module 3: Branching"]
    M3 --> M4["Module 4: Collaboration"]
    M4 --> M5["Module 5: Recovery & Debugging"]
    M5 --> M6["Module 6: Advanced & DevOps"]

Module 1 – Foundations

# Tutorial Level Time
1 Introduction to Git and Version Control Beginner 30 min
2 Git Installation and Configuration Beginner 25 min
3 Understanding the Git Object Model Beginner 40 min

Module 2 – Essential Workflow

# Tutorial Level Time
4 Creating and Cloning Repositories Beginner 30 min
5 Basic Git Workflow — Add, Commit, Push Beginner 35 min
6 Viewing History and Diffs Beginner 35 min

Module 3 – Branching

# Tutorial Level Time
7 Branching Fundamentals Beginner 40 min
8 Merging and Merge Conflicts Intermediate 45 min
9 Rebasing and Interactive Rebase Intermediate 50 min

Module 4 – Collaboration

# Tutorial Level Time
10 Working with Remotes Beginner 40 min
11 Pull Requests and Code Review Intermediate 45 min
12 gitignore and gitattributes Beginner 30 min

Module 5 – Recovery & Debugging

# Tutorial Level Time
13 Undoing Changes — Reset, Revert, and Stash Intermediate 45 min
14 Cherry-pick and Reflog Intermediate 40 min
15 Git Bisect and Debugging History Intermediate 40 min

Module 6 – Advanced & DevOps

# Tutorial Level Time
16 Git Hooks and Automation Intermediate 45 min
17 Advanced Git Workflows Intermediate 45 min
18 Git Submodules and Subtrees Advanced 45 min
19 Signed Commits and Git Security Advanced 40 min
20 Git in CI/CD and DevOps Advanced 50 min

Total estimated time: ~13 hours of hands-on learning

Learning Objectives

After completing this track, you will be able to:

  • Use Git confidently for daily development and infrastructure-as-code
  • Branch, merge, and rebase without fear of losing work
  • Collaborate via remotes, pull requests, and code review
  • Recover from mistakes using reset, revert, stash, and reflog
  • Apply trunk-based, GitFlow, or GitHub Flow in team settings
  • Integrate Git with CI/CD, hooks, signing, and GitOps patterns

Who Is This For?

Audience Benefit
Developers Solid VCS skills from day one
DevOps / SRE Manage Terraform, Ansible, and K8s manifests in Git
Students Job-ready Git for interviews and internships
Team leads Branching strategies and review workflows