I am looking for a simple git
command that provides a nicely formatted list of all files that were part of the commit given by a hash (SHA1), with no extraneous
try this command for name and changes number of line
git show --stat
only show file names
git show --stat --name-only
for get last commit hash then try this command
git log -1
last commit with show files name and file status modify,create or delete
git log -1 --oneline --name-status
or for all
git log
for more advanced git log information read this article
https://devhints.io/git-log-format
https://devhints.io/git-log