Will I be forced to serve in the German military if a war breaks out?
Germany has abolished the draft.
What about the proposed law that would require all young men to show up for an examination?
German citizens who live abroad are explicitly exempted.
What if Germany reinstates the draft once a war breaks out in the future?
Obviously, we do not know in which form the draft could be reinstated in the future. At least in the past, the draft never applied to citizens who lived abroad (including during both World Wars).
What if Germany reinstates the draft and makes it apply to citizens who live abroad?
Germany has still no way to get hold of you since your home country does not deport dual citizens to other countries so that dual citizens can fight for the other country in a war.
Example: When the war broke out in Ukraine and the country drafted all men of military age, Western countries did not deport Ukrainian men who lived in their country (not even those who were only Ukrainian citizens, let alone dual citizens). Quite the opposite: Western countries offered asylum to those who were fleeing from Ukraine, including drafted men.
US program for Ukrainians: www.dhs.gov/ukraine
EU program: https://www.consilium.europa.eu/en/policies/refugee-inflow-from-ukraine/