Git Stash Quiz
Multiple Choice Medium
Question
What does `git stash` do?
Hint
Stash means set aside temporarily.
Explanation
git stash temporarily saves your uncommitted (staged and unstaged) changes in a stack, then restores the working directory to the last committed state. You can restore the changes later with git stash pop. It does not delete, commit, or push — it shelves the changes for later.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.