Interview Prep/Git & GitHub/Hooks, submodules, LFS and signing

What is `git diff --word-diff` and `git diff --color-moved` for?

IntermediateConceptHooks, submodules, LFS and signing
Answer

--word-diff highlights changed words inside lines, good for prose and long lines. --color-moved colours blocks that were moved rather than changed, which makes refactors far easier to review.

git diff --color-moved=dimmed-zebra
All Git & GitHub questions Roadmap: Git & GitHub

More on Hooks, submodules, LFS and signing