To events, it's common to use the pre-commit hook to check for various errors before validating it, or to update refs after a fetch.
We want to display the list of stashes done on the current branch, after you checkout it.