German rider Tony Martin broke ahead early and comfortably held on to win the ninth stage of the Tour de France on Sunday, while Frenchman Tony Gallopin took the yellow jersey.