Sometimes you require to inspect files which were part of a particular commit. Each commit is tagged with hash. You can use below command to see the list of files changed during particular commit.
git diff-tree -r {hash}
Command
hash- commit Id
Given the submit hash, this will list down every one of the records that were changed or included that submit. The - r flag makes the order list singular records, instead of falling them into root index names as it were. The yield will likewise incorporate some additional data, which can be effectively stifled by including two or three flags::
git diff-tree --no-commit-id --name-only -r {hash}