What actually changed between two versions — line by line, with the unchanged middle collapsed.
—
How the comparison works. This computes a longest common subsequence, so it finds the genuine alignment between the two texts instead of comparing line 1 to line 1 and declaring everything after an inserted line to be different. Insert one line at the top of a thousand-line file and you get one added line, not a thousand changed ones.