Create an iterator for the repo's references
pointer in which to store the iterator
the repository
0 or an error code
See Implementation
Create an iterator for the repo's references