Etymology
Today it means: To have sex with. Full definition →
Possibly from get one's leg over.
Etymology from Wiktionary, CC BY-SA 4.0.