The first recorded version of the rhyme was collected by James Orchard Halliwell in the mid-nineteenth century with the lyrics:
Rowley Powley, pudding and pie,
Kissed the girls and made them cry;
When the girls began to cry,
Rowly Powley runs away.[1]
However, the version with Georgie Porgie was known to George Bernard Shaw (b. 1856) in his childhood and so may be at least as old.
There are various theories that link the character Georgie Porgie to historical figures including George Villiers, 1st Duke of Buckingham (1592-1628), Charles II (1630-1685) and George I (1660-1727), but there is no evidence to corroborate such claims.
https://en.wikipedia.org/wiki/Georgie_Porgie
Anyway, it's a very famous nurcery rhyme and has a lot of cultural revences till now and it made history.
In literature - music films
Rudyard Kipling recites the George Bernard Shaw version of the nursery rhyme as the opening lines for his short story Georgie Porgie.
A reference is made to the rhyme in Aldous Huxley's Brave New World (1932), Chapter five:
Orgy-porgy, Ford and fun,
Kiss the girls and make them One.
Boys at one with girls at peace;
Orgy-porgy gives release.
"Georgy Porgy" is a also a short story by Roald Dahl first published in 1960. It is included in Dahl's short story collection Kiss Kiss.
https://en.wikipedia.org/wiki/Georgy_Porgy
https://en.wikipedia.org/wiki/Kiss_Kiss_(book)