Switch from `int` to `git_branch_t`.