git apply to just one file code example
Example 1: how to apply changes in a single file from stash
git checkout stash@{0} -- <filename>
Example 2: how to apply changes in a single file from stash
git restore -s stash@{0} -- <filename>
git checkout stash@{0} -- <filename>
git restore -s stash@{0} -- <filename>