This song is seriously old and is published in Ravenscroft’s Deuteromelia (1609). Since then it has been occasionally reprinted, even in a collection of nursery rhymes. It has turned up in tradition a handful of times. See the video link to hear the 1609 version.
Notes by Gwilym Davies 7 April 201