Here the German version. My sources cite that the text is from 1886 in the area of the river Saar. The melody is from an 1818 Neapolitan folksong called 'O cara mama mia', also used by and/or attributed to Paganini.Mein Hut der hat drei Ecken,
drei Ecken hat mein Hut,
und haett' er nicht drei Ecken,
dann waer's auch nicht mein Hut.Hope this helps.