The git stash command is used to temporarily save changes in your working directory that you don't want to commit right away but also don't want to lose. This command allows you to work on something else, switch branches, or pull in new changes without having to commit or lose your work in progress.
How to Revert Commit in Git
The git revert commit command is sudo git stash. However you can also use this command e.i. sudo git stash pop
