Create an iterator which loops over the requested branches.
@param out_ the iterator
@param repo Repository where to find the branches.
@param list_flags Filtering flags for the branch
listing. Valid values are git_branch_t.GIT_BRANCH_LOCAL, git_branch_t.GIT_BRANCH_REMOTE
or git_branch_t.GIT_BRANCH_ALL.
Create an iterator which loops over the requested branches.
@param out_ the iterator @param repo Repository where to find the branches. @param list_flags Filtering flags for the branch listing. Valid values are git_branch_t.GIT_BRANCH_LOCAL, git_branch_t.GIT_BRANCH_REMOTE or git_branch_t.GIT_BRANCH_ALL.
@return 0 on success or an error code