Same music, different words. The song is called "John Brown's Body". You can look up the words online. For those who don't remember history, John Brown was an abolitionist who armed slaves in Kansas and led them against their masters. In what was known as "Bleeding Kansas" there was a massacre where most of the slaves were either killed or recaptured. The most radical of the abolitionists and many slaves saw Brown as a hero and thought his plan was better than any other as a way to free the slaves. I can't remember who wrote the words, but they are a tribute to their fallen hero. As with many other songs written at that time, music from another song were used. You can look at it this way - "The Battle Hymn of the Republic" was the armies "fight song" and "John Brown's Body" was the "fight song" for the abolitionist movement.