Julian Alaphilippe of France celebrates on the podium, wearing the overall leader's yellow jersey. Photo: Reuters/Christian Hartmann

Egan Bernal had the edge over the other top Tour de France contenders as France’s Julian Alaphilippe hung on for dear life to retain the yellow jersey at the end of a punishing day in the Alps yesterday.

Nairo Quintana won the 18th stage, a 208km trek at high altitude from Embrun, but all eyes were on the battle for the title, as his fellow Colombian Bernal powered away from a reduced pack about two kilometres from the top of the Col du Galibier with his rivals unable to respond.

His advantage quickly rose to 43 seconds, but an attack from his Ineos teammate, Geraint Thomas, dented his lead while Frenchman Thibaut Pinot then reined in the defending champion with most of the other favourites on his wheel.

Julian Alaphilippe of France, wearing the overall leader's yellow jersey, in action. Photo: Reuters/Gonzalo Fuentes

Only Alaphilippe was dropped, but he made his way back to the group in the high-speed descent to the finish.

He leads Bernal by 1:30 going into the last two competitive stages in the mountains and while his yellow jersey seems to be hanging by a thread, Alaphilippe has shown he will not go down without a fight.

Thomas is third and 1:35 off the pace with Dutchman Steven Kruijswijk in fourth place a further 12 seconds behind. Pinot is in fifth position, 1:50 adrift of Alaphilippe.

Thomas’ move, however, highlighted a leadership conundrum at Ineos as the defending champion effectively chased down his teammate and brought his rivals closer.

“The call was made for Egan to go and hopefully that would kick it off a bit, but it didn’t really - (Alaphilippe’s teammate) Mas just started riding his tempo,” said Thomas.

“That’s when I went as well, just to test. But at least Egan gained some time on everyone else.”

Julian Alaphilippe of France wearing the overall leader's yellow jersey, in action. Photo: Reuters/Gonzalo Fuentes

Bernal, who is now best-placed to deprive France of a first home-grown Tour winner since Bernard Hinault’s triumph in 1985, said he had spoken to Thomas before his attack.

“G asked me how I was feeling. I said I was feeling really good so he asked me to attack to try to move the race,” he said.

Reuters