Alright, lets say one day we make happen to make a bunch of modifications and when we go to commit them we notice we were working on the wrong branch.
How can we for
You can either :
Use git stash to shelve your changes or,
git stash
Create another branch and commit your changes there, and then merge that branch into your working directory