Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.
Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition

Change the git_branch_iterator_new definition to use git_branch_t