A structure called the coleoptile, essentially a part of the "cotyledon", protects the young stem and plumule as growth pushes them up through the soil.
Thus, the distinction between hypogeal and epigeal germination depends on which part of the germinating seed elongates to push the plumule above the soil.