This was an old traditional Irish song long before Thin Lizzy recorded it. The original words are;
But the devil take that woman for you know she tricked me easy
Musha ring dum-a-do-dum-a-da
Work for my daddy-o
What musha ring means I really don't know, but it looks like a possible corruption of Irish Gaelic words.
Interested in Language