This text comes from The Book of Scottish Song, edited by Alexander Whitelaw, a historical songbook transcribed on Wikisource and reproduced from the pinned revision linked below.
O, Galloway Tam came here to woo—
I'd rather we'd gi'en him the bawsand cow;
For our lass Bess may curse and ban
The wanton wit o' Galloway Tam!
O Galloway Tam came here to shear—
I'd rather we'd gi'en him the guid gray mare
He kiss'd the gudewife, and dang the gudeman—
And that's the tricks o' Galloway Tam!