Generic return codes
Return the last git_error object that was generated for the current thread or NULL if no error has occurred
git_error
Clear the last library error that occurred for this thread