سلام خدمت شما
1- This will list all the files that were touched in a commit
git show --pretty="" 39041b7db7d403d7250766a100d6fd20a657b0cf
2- This will output all commits in the range from commitA to commit D
commitA
commit D
git show commitA commitD