Julian Alaphilippe of Team Quick-Step climbed brilliantly to secure victory in Stage 10 of the Tour de France, as the race hit the mountains for the first time.