git restore exists, and works like a more destructive git stash
git restore
git stash
See https://git-scm.com/docs/git-restore