Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
During the Third Republic and Fourth Republic, the officeholder was elected by a combined vote of the Chamber of Deputies (National Assembly in Fourth Republic) and the Senate (Council in Fourth Republic). At the start of the Fifth Republic in 1958, the first presidential election was held using an electoral college consisting of members of the French Parliament, general councils, as well as overseas assemblies, mayors, deputy mayors and city council members. Since then, the presidency has been directly elected with two round system.
Third Republic
1873 election
The 1873 election took place on 24 May following the resignation of incumbent President Adolphe Thiers. At the time of the vote, the Legitimists and Orleanists monarchists held a large majority in Parliament over the Republicans and Bonapartists as a result of the 1871 legislative elections.
The elections in December 1953 required thirteen rounds of voting before a candidate reached a majority of the vote. The election was eventually won by René Coty of the National Centre of Independents and Peasants (CNIP), who had only entered in the eleventh round.
The 1958 election was the first of the French Fifth Republic and took place on 21 December. It was the only French presidential election by the electoral college (gathering the members of the French Parliament, the Conseils Généraux, the overseas assemblies, and tens of thousands of mayors, deputy mayors and city council members). To win, a candidate was required to receive 50% of the vote. This system was used only for this election, and was changed in the 1962 referendum in time for the 1965 presidential election.