I think you're asking about what's usually called the Fall of France or the Battle of France, from the major German invasion starting 10 May 1940 to the German-French armistice of 25 June 1940.
Mentioning previous answers is not intended to discourage follow-on discussion -- follow-on questions, information, and debate is welcome.
There's an FAQ section in the World War II section, "Maginot Line and Fall of France", at https://www.reddit.com/r/AskHistorians/wiki/faq/militaryhistory/wwii/minor#wiki_maginot_line_and_fall_of_france . There are four discussions there.
Edit: Actually, down below is a section "French military", which also has applicable discussion. Specifically,
I'll briefly explain "Vichy France" in a reply.