Make git-check-format-ref a builtin.