Fill a list with all the branches in the Repository
The string array will be filled with the names of the
matching branches; these values are owned by the user and
should be free'd manually when no longer needed, using
git_strarray_free
.
Pointer to a git_strarray structure where the branch names will be stored.
Filtering flags for the branch listing. Valid values are GIT_BRANCH_LOCAL, GIT_BRANCH_REMOTE or a combination of the two.
0 or an error code.