Skip to content

Git Recovering From Common Mistakes Practice Exam

Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.

📝 50 questions · ⏱ 60 minutes · 🎯 Pass mark 70% · 🆓 Free, no signup

Exam details

  • 50 questions drawn from 105 cards
  • Countdown timer — auto-submits when time runs out
  • Pass mark 70% (real certification threshold)
  • Full review of wrong answers at the end
  • No signup required — save your score with a free account

Sample Questions

5 shown

Undo the last commit but keep changes staged.

Show ▼

git reset --soft HEAD~1

Undo the last commit AND discard changes.

Show ▼

git reset --hard HEAD~1  ⚠ destructive.

Undo the last commit but keep changes unstaged in the working tree.

Show ▼

git reset --mixed HEAD~1 (the default).

Amend the last commit message.

Show ▼

git commit --amend -m 'new message'

Amend the last commit to include forgotten files.

Show ▼

git add forgotten-file
git commit --amend --no-edit

🎯 Take the Git Recovering From Common Mistakes Practice Exam