The melody originated with Jean-Baptiste Lully in the 17th century (first youtube), was reused by Georges Bizet in the 19th century (second youtube) and then became the Girl Scout song “Make New Friends But Keep the Old (One is Silver and the Other Gold)” in the 20th century (third youtube).
https://www.youtube.com/watch?v=Dl9S0aQJsg0