git-ls-files - Show information about files in the index and the working tree
git-checkout - Checkout a branch or paths to the working tree. In sparse checkout mode, git checkout – [paths] would update only entries matched by [paths] and sparse patterns in $GIT_DIR/info/sparse-checkout. This option ignores the sparse patterns and adds back any files in .
lab:pcode/ $ git ls-files -d
asyncore/asyncore_echo_server.py
lab:pcode/ $ git ls-files -d | xargs git checkout --
lab:pcode/ $ git status
References:
1. http://data.agaric.com/restore-locally-deleted-files-git