I frequently use git stash and git stash pop to save and restore changes in my working tree. Yesterday I had some changes in my working tree that I
git stash
git stash pop
Windows PowerShell equivalent using gitk:
gitk --all $(git fsck --no-reflog | Select-String "(dangling commit )(.*)" | %{ $_.Line.Split(' ')[2] })
There is probably a more efficient way to do this in one pipe, but this does the job.