Check if a reflog exists for the specified reference.
the repository
the reference's name
0 when no reflog can be found, 1 when it exists; otherwise an error code.