Undoing Things

← Git & GitHub course — Chapter 4 of 5

Unstaging files, discarding changes, revert vs reset, recovering lost commits, fixing a forgotten file, and leaked secrets.

~~~

Your score — Undoing Things

/ (%)

Next chapter: Remotes & GitHub →
~~~

Learn more

These quizzes are based on tutorials published on this site. Go deeper on Undoing Things:

~~~

About this course

This is a chapter of the free Git & GitHub quiz course. Answer each question, get immediate feedback with an explanation, and move on. Your progress is saved in your browser — nothing leaves your machine.

All chapters of the Git & GitHub courseall quiz courses