how did germany defend itself in ww1
After WW1, they built the Maginot Line, along their border with Germany. This was a massive defensive fortifiations with underground bunkers that could be used for troops and support and command and control. In 1940, the Germans defeated this defensive line by attacking through Belgium and going around it.