Adding ErrorMessage to git