A simple parser for Git diffs