Delete an existing reference
This method works for both direct and symbolic references.
The reference will be immediately removed on disk and from memory. The given reference pointer will no longer be valid.
The reference to remove
GIT_SUCCESS or an error code