Git log show commit details git log -p path/to/file_or_directory git log -p git log -p -3 # show recent 3 git commits' detail