The storyFrom hog + cote (“building for domesticated animals”).Etymology from Wiktionary, CC BY-SA 4.0.