Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.