Germany won the World Cup for the fourth time on Sunday when substitute Mario Goetze volleyed in a brilliant goal seven minutes from the end of extra time to secure a 1-0 victory over Argentina at the Maracana.