From Middle English hegge, from Old English heċġ, from Proto-West Germanic *haggju, from Proto-Germanic *hagjō, from Proto-Indo-European *kagʰyóm (“enclosure”). Cognate with Dutch heg, German Hecke. Doublet of hey (a choreographic figure) and quay. More at haw.