The Traditional Ballad Index (www.csufresno.edu/folklore/balladsearch.html) gives references and suggests that Leadbelly revised it from an older tune, and that Lomax further revised it. As Art Thieme said, it is a mule-driving song originally.