Matching based on git diff.