Hi@akhtar,
Using git diff-tree is considered as a preferred way of listing files in a commit as it is a plumbing command. It is used to compare the content and mode of blobs found via two tree objects.
$ git diff-tree --no-commit-id --name-only -r <sha1-commit-hash>