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
You can list all unreachable commits by writing this command in terminal -
git fsck --unreachable
Check unreachable commit hash -
git show hash
Finally apply if you find the stashed item -
git stash apply hash