Push matching references
The OIDs pinted to by the references that match the given glob pattern will be pushed to the revision walker.
A leading 'refs/' is implied it not present as well as a trailing '/ ' if the glob lacks '?', '' or '['.
the glob pattern references should match
0 or an error code