What's "shake a leg" mean and why?

Native speaker’s answer
Rebecca
"Shake a leg" is a casual expression meaning "get a move on" ("get started") or "hurry up." It's used in situations in which you want someone to start moving or acting quickly. Ex; Come on guys, shake a leg. We're running out of time. Ex: Shake a leg, people. We have one hour to solve this puzzle.