The gigue originated in the late 16th century in France as a lively folk dance . It later evolved into a popular Baroque dance form, characterized by its upbeat tempo and distinctive triple meter.