Lab trackGit Labs
Git hands-on labs
Thirty-six real Git labs on one project, free. From your first commit to recovering production — branches, a team remote, undoing mistakes, releases and bisecting a regression, all in a live terminal.
- 36 labs
- 15.2 h
- Beginner
- Free
Free with a free account — it runs in your browser, nothing to install.
- A real environment in your browser
- You run the commands yourself
- Your result is checked automatically
Labs in this track
Module 1 — Build a Trustworthy Repository
7 labs2.3 h
- Configure Git for OpsTrackBeginner15 min4.6Start
- Initialize the OpsTrack RepositoryBeginner15 min4.9Start
- Create the First SnapshotBeginner20 min5.0Start
- Inspect Changed, Staged and Committed ContentBeginner20 min4.5Start
- Protect Secrets and Generated FilesBeginner25 min4.0Start
- Build Atomic Commits with Selective StagingBeginner25 min4.5Start
- Read Project HistoryBeginner20 min4.0Start
Module 2 — Branching and Integration
6 labs2.4 h
- Create a Health-Check Feature BranchBeginner25 min4.0Start
- Compare and Merge Completed WorkBeginner20 min4.0Start
- Handle an Urgent Interruption with StashBeginner25 min2.0Start
- Resolve a Content ConflictBeginner25 min1.0Start
- Resolve a Modify/Delete ConflictBeginner25 min1.0Start
- Compare Fast-Forward and Three-Way MergesBeginner25 min4.0Start
Module 3 — Remote and Team Collaboration
7 labs2.8 h
- Publish OpsTrack to the Team RemoteIntermediate20 min4.0Start
- Clone and Join an Existing ProjectIntermediate20 min4.0Start
- Fetch Before IntegratingIntermediate20 minStart
- Handle a Diverged BranchIntermediate25 minStart
- Publish a Feature for ReviewIntermediate25 minStart
- Rebase Unpublished Work onto Updated mainIntermediate30 minStart
- Cherry-Pick an Approved ContributionIntermediate25 minStart
Module 4 — Correct Mistakes and Recover Work
5 labs2.1 h
- Restore the Correct Git LayerIntermediate20 minStart
- Compare Soft, Mixed and Hard ResetIntermediate30 minStart
- Revert a Shared Production ChangeIntermediate25 minStart
- Recover a Deleted Branch with the ReflogIntermediate20 minStart
- Clean an Unpublished Branch with Interactive RebaseIntermediate30 minStart
Module 5 — Releases and Repository Standards
6 labs2.3 h
- Prepare Annotated Release v1.0.0Intermediate20 minStart
- Publish and Verify the Release TagIntermediate15 minStart
- Apply .gitattributes and Line-Ending ConsistencyIntermediate25 minStart
- Add a Local Pre-Commit Quality GateIntermediate25 minStart
- Use Git Worktrees for Concurrent WorkIntermediate25 minStart
- Manage a Pinned SubmoduleIntermediate30 minStart
Module 6 — Investigate Production History
4 labs1.8 h
- Search History with grep, log -S and log -GAdvanced25 minStart
- Investigate a Line with git blameAdvanced25 minStart
- Find a Regression with git bisectAdvanced30 minStart
- Reuse Conflict Resolution with git rerereAdvanced25 minStart
Capstone — Production Recovery
1 lab1.5 h
- Recover OpsTrack and Publish v1.1.1Advanced90 minStart
About this track
A lab-only path through Git, free for everyone with a Kube-Ops Academy account.
Show more
You join the team behind OpsTrack, a small operations service, and work on its repository the way software and DevOps teams do every day. Each lab opens that project at the exact point the previous one left it, so the story carries through: you configure Git and make the first commits, branch and resolve conflicts, collaborate with teammates through a shared remote that protects main, undo mistakes without losing work, publish releases, and investigate production history. The course ends with an incident you handle alone, from the first alert to a tagged hotfix.
There are no video lectures and no reading-only lessons. Every lab checks what you actually did in the repository and tells you what is still missing. Four knowledge checks close the modules where the ideas matter most.
What you'll learn
- Keep the working tree, the index and history straight, and commit changes that each tell one story
- Keep secrets out of a repository before they are ever committed
- Branch, merge and resolve content and modify/delete conflicts with confidence
- Fetch before you push, repair a diverged branch, rebase your own work and cherry-pick one fix
- Undo at the right layer with restore, reset, revert and the reflog — and know which is safe on shared history
- Tag and publish releases, enforce standards with hooks, and use worktrees and submodules
- Search history, trace a line through a refactor with blame, and find a regression with bisect
- Run a production hotfix end to end without disturbing your teammates
Prerequisites
Basic comfort in a Linux shell: moving between directories, listing and reading files, and editing a text file. No Git experience is needed.
Nothing to install. Every lab runs in your browser with a terminal and an editor.
Who it's for
Developers and DevOps engineers who use Git every day but reach for a search engine when something goes wrong, newcomers who want to learn it properly the first time, and team leads who want a shared, practical baseline.
FAQ
Is this really free? Yes. Register, enrol, and launch. No subscription, no card.
Do I need a GitHub account? No. Every lab has its own practice repository and team remote. Nothing is pushed to your GitHub.
Can I start over if I break the repository? Yes. Each lab can put its project back to the starting point, and you can relaunch a lab up to ten times.
Do I have to take the labs in order? Each lab stands on its own, but the story and the skills build module by module, and the capstone assumes you have done the six modules before it.