Germany managed to score a golal in extra time.
This was a vital point for them since also Spain will probably end 1st on its group, Germany positioning themself in 1st position have managed to avoid the game against Spain in the 1st elimination stage.
They will now probably face Italy or Croatia instead.
They should hope for Croatia because Italy play very good football almost like Spain.
If Germany had lost, it would have affected the morale of the team if they entered the knockout stages of the competition after just losing a game so the fact that they haven't lost any game yet in the competition will keep the motivation of the players high to maintain the record they want up to the finals.