Why do quarterbacks lift their leg before the snap?
A QB can lift his leg in both the shotgun formation as well as from under center. In the shotgun, generally, it's a timing cue for the center to snap the ball. When the QB is under center, the leg lift is generally indicating to players who are split wide in the formation that they can start "in motion".