Keentune
Adaptive skill practice — find your level, get sharper.

Git practice

Undoing commits
Try one — no signup
A bad commit is already pushed to a shared main branch. What is the safest way to undo it?
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Branch, merge, rebase, and undo with confidence
Master version control with Git — the working-directory/staging/repo model, commits and branches, merge vs rebase (and when to use each), resolving conflicts, the remotes workflow (fetch/pull/push), and undoing/recovering work (reset vs revert, reflog, stash, cherry-pick). Concept and command-behavior questions that build real day-to-day Git fluency. Part of the Developer track.
• Meets you at your level — never too easy, never too hard.
• Adapts every question to how you’re doing.
• Tracks your level over time. Skill practice, not a test.

New here? Read the Git guide

A free 15-minute primer — the mental model, the mistakes beginners make, and what to practice first.

Curriculum

213 concepts across 24 chapters, from foundations through advanced practice — each one a concept the adaptive question bank can teach and test.

A. The object model

9

B. Refs, HEAD and reachability

9

C. The index and the three trees

9

D. Configuration

8

E. Making commits

8

F. Ignoring files, and attributes

10

G. Naming revisions

10

H. Reading history: log and blame

11

I. Diffs and patches

8

J. Branching

8

K. Merging

10

L. Merge strategies and rerere

8

M. Rebasing and rewriting history

13

N. Cherry-pick and revert

8

O. Undoing: reset, restore and clean

9

P. Stashing and multiple working trees

9

Q. Remotes, transports and clones

12

R. Tags, describe and notes

7

S. Hooks

8

T. Bisecting a regression

7

U. Submodules and vendoring

8

V. Maintenance, packing and large repositories

8

W. Reflog and recovery

8

X. Collaboration workflows

8
View the full curriculum →
Keentune is not affiliated with or endorsed by the organizations whose documentation informs these maps.
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Explore all skills on Keentune
Also on your phone
All exam, test, and product names and trademarks are the property of their respective owners and are used here for identification and reference only. Keentune is independent study practice — not affiliated with, authorized, or endorsed by any of these organizations.
© 2026 SportaApp LLC