git-apply: add "--check" option to check that the diff makes sense