What is a Diff?
A diff (short for difference) compares two versions of text and highlights what was added, removed, or changed between them. Originally a Unix command-line tool, diff is now essential for software development, code review, and configuration management.
Side-by-Side vs Inline View
Side-by-side shows original and modified text in two columns. Matching lines are aligned so you can compare them visually. Best for reviewing small, targeted changes.
Inline (unified) shows all changes in a single column with deletions and additions stacked. This is the same format used by git diff and pull request reviews. Best for reviewing larger changes or getting an overview.