git log and git diff are powerful tools for inspecting history and changes, with many options for filtering, formatting, and comparing. Knowing how to use them effectively helps you understand a codebase's evolution and review changes precisely.
git log — exploring history
git --oneline
git --oneline --graph --all
git -p
git --
git --author=
git --since=
git --grep=
git -S
git <file>
git main..feature
