The numbers are native to [`git diff`](https://www.kernel.org/pub/software/scm/git/docs/git-diff.html): "Make the program exit with codes similar to diff(1). That is, it exits with 1 if there were differences and 0 means no differences."