Git Stash: Save Work Temporarily (Without Committing)
When you have uncommitted changes and need to switch branches, Git won’t let you move freely.
git stash parks your WIP in a stack and gives you a clean working directory.

Quick commands
git stash push -m "wip: auth form"
git stash list
git stash apply stash@{0}
git stash pop
Common flags
git stash -ustashes tracked + untracked filesgit stash -aalso includes ignored files
Next
If you’re juggling branches often, pair stash with a clear workflow: