Thanks to visit codestin.com Credit goes to libgit2.org
Delete the reflog for the given reference
the repository
the reflog to delete
0 or an error code