I've often wondered about the melody, too. It's a very singable tune, but I don't know of any song with a similar melody. I see that there's a Wikipedia page on the song: https://en.wikipedia.org/wiki/Morningtown_Ride