Parses git diffs into Ruby objects