get previous git stash

C++
git fsck --unreachable | grep commit | cut -d ' ' -f3 | xargs git log --merges --no-walk

Source

Also in C++: