Adds check for dirty state before trying to attempt a stash in git-psyrendust.plugins.zsh.
Adds stashing any changes before an update is attempted in upgrade.sh.