add changes without whitespace
git diff -w --no-color | git apply --cached --ignore-whitespace
find deleted file
$ git log -- /path/to/file
display deleted file
git show <SHA> -- /path/to/file
recover file
git checkout <SHA> -- /path/to/file