use of git log command code example
Example: git log
git log # show commits
git log -p # show diff files
git log -p <path> # show diff specified files
git log # show commits
git log -p # show diff files
git log -p <path> # show diff specified files