Understanding Git Diff Syntax
How to read changed files, hunks, and line markers
By Somaditya Basak
git diff shows how text differs between two versions of a file. Its default output uses a format called unified diff: a little context around each change, with prefixes that distinguish added, removed, and unchanged lines.
[Read More]