1530s, from Scottish, literally "piece of turf or sod" used for roofing material, etc., of unknown origin. The golfing sense is from 1886.
A toupee; rug
[1950s+; fr the Scottish word, ''a piece of turf or sod, esp one cut out by a golf club,'' of unknown origin]