The text goes back at least to 1840, but Dylan uses the Carter Family version from 1929. The lyrics below are Manfred Helfert’s transcription of the Carter Family version. He also says:
Covered by Dylan during 5 Mar 1970 Self Portrait sessions (credited to Bert A. Williams/Earle C. Jones), during 1975 Rolling Thunder Revue tour (a fragment with Dylan on piano, probably dating from Nov 1975 is part of the Renaldo and Clara soundtrack), performed live in 1992 and 1993. Dylan’s most likely source is The Carter Family’s recording (RCA Studios, Camden, NJ, 14 Feb 1929, included in Harry Smith’s Anthology of American Folk Music (track 53) on Folkways. (Roots, Routes and Ramblings)
The tab below is based on the version from San Jose, The song is an excellent example of the GAIBTY/WGW style of picking out the melody on the bass strings, mostly in G or (as in this case) C. The following is what he plays between some verses. The melody is picked on the bass strings (sometimes hitting neighbouring strings), while the higher strings strum whatever fits in an up–down pattern. The exact strings are not essential and the tab should absolutely not be taken literally; it is more of an indication of in which general area the strings are strummed.
C G C
: . . : . . : . . : . .
||------0-0---0-|-------------|-----0-0-0-0-|-----0---0-0--||
||*-----1-1---1-|-----0---0---|-----1-1-1-1-|-----1-1-1-1-*||
||------0-0---0-|-----0---0---|-----0-0-0-0-|-----0-0-0-0--||
||------2-------|-0--h2---0---|-----2---2---|-------2-2-2--||
||*-0h3-----3---|-------------|-3-----------|-3-----3-3-3-*||
||--------------|-------------|-------------|--------------||
G/d C/e G/d
: . . : . .
||------3-3-3-3-|-----3---3----||
||*-----0-0-0-0-|----h1---0---*||
||------0-0-0-0-|-----0---0----||
||--0-----------|-0--h2---0----||
||*-------------|-------------*||
||--------------|--------------||
C G C
: . . : . . : . . : . .
|-----0-0---0-|-------------|-----0-0-0-0-|-----0---0-0-|
|-----1-1---1-|-----0---0---|-----1-1-1-1-|-----1-1-1-1-|
|-----0-0---0-|-----0---0---|-----0-0-0-0-|-----0-0-0-0-|
|-----2-------|-0--h2---0---|-----2---2---|-------2-2-2-|
|-0h3-----3---|-------------|-3-----------|-3-----3-3-3-|
|-------------|-------------|-------------|-------------|