Debugging with History
git bisect
Binary-search which commit introduced a bug. This is a huge time-saver in production incidents.
git blame and the pickaxe search
git blame (with -w and --ignore-rev) and git log -S "text" (the "pickaxe" search).
Reading history
git log --oneline --graph --all and git diff with its variants (--staged, branch1..branch2).
Next TopicRepo Hygiene & Protection