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