git stash: save your work without committing

You’re working, some priority comes up, but you’re not ready to make a commit yet, and you need to switch branches. What do you do? 🤔 Some people like to make a throwaway commit just to save the work so they can undo it later, but I prefer git stash . Think of it like a stack. You take the changes you made, bundle them up, save them locally, and then your working directory goes back to a clean…