Where does “terrig” come from?

Words derived from “terrig