apply a selective stash code example
Example 1: git stash apply specific file
git diff stash^! -- path/to/relevant/file/in/stash.ext perhaps/another/file.ext > my.patch
git apply < my.patch
Example 2: how to apply changes in a single file from stash
git restore -s stash@{0} -- <filename>