Thomas Muller scored a cracking winner, to ensure Germany finished on top of Group G, with a 1-0 win over USA.