The United States of America came from behind to beat Germany 2-1 in their friendly international in Cologne.