It does because it is a relatively industrialized country. CO2 emissions fell last year by 4.5%.
These are actual numbers for electricity production in Germany: from 2017 to 2018:
5.6% more wind electricity, 6.3% more solar electricity.
2.7% less coal/lignite, 6% less hard coal, 9% less gas.
The share of renewable energy of electricity production is 40%.
In 2030 it is projected to be at around 65%.
This is going to be a revolution. We now have working days in 2019 where >60% of the electricity are coming from renewables. There was a week this year with 64.8% renewable energy for electricity, with wind providing 48.4%. Two decades ago this was thought to be impossible.