Revert "Free tag with git_tag_free (not git_object_free)

This reverts commit fe6b10e3190dce7e24845a645bf235f6735bd5ec.