Do these need to be in a header? If so, they should have a `git_` prefix. Ideally, we could keep them inside `patch.c` without prefix.