Get current commit hash
Get root directory of repo
git rev-parse --show-toplevel
List files changed in a commit
git diff-tree --no-commit-id --name-only -r <commit>
Get commit date of single file
git log -1 --format=%ci <filename>
Get commit date of all files in a repo
git ls-tree -r --name-only HEAD -z | TZ=UTC xargs -0n1 -I_ git --no-pager log -1 --date=iso-local --format="%ad _" -- _
List all files in repo and their corresponding commit hash
git ls-files -z | GIT_PAGER= xargs -0 -L1 -I'{}' git log -n 1 --format=\"%h {}\" -- '{}'