The factor for CO2g/kWh in 2017 is lower: between 6.0 and 7.3, depending on what exactly is measured.[1]
However, the absolute numbers for Germany are declining fast as renewable energies are taking hold:[2]
2017: 485
2018: 471
2019: 408 (preliminary)
2020: 366 (estimated)
(In a hurry, could not find newer numbers for France.)
If one looks at the CO2 emissions per capita the gap is not so large. I could not find any new numbers for this either, but in 2018 the values of CO2 emissions in metric tons per capita were as follows:[3]
France 5.0
Germany 9.1
For comparison: United States 16.1
If one looks at the timelines, the gap between France in Germany seems to close more or less fast/slowly everywhere.
[1] https://www.sciencedirect.com/science/article/pii/S136192091...
[2] https://www.umweltbundesamt.de/sites/default/files/medien/37...
[3] https://en.wikipedia.org/wiki/List_of_countries_by_carbon_di...