git log definition 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