We don't know who invented the beret, but we do know he was French.
The first French beret was worn in battle by Basque separatists in the Pyrenees mountains.
Intellectuals in the cities picked up wearing red berets or green berets as a show of support.