The `git_error_set` function is useful for callers who implement backends and advanced callbacks. Expose it.