how to get the files back which are deleted in git without commit code example
Example: recover lost file git
git log --diff-filter=D --summary
git checkout $commit path/to/file
git log --diff-filter=D --summary
git checkout $commit path/to/file