Novak Djokovic beat Roger Federer 7-6 1-6 7-6 4-6 13-12 to win his fifth title at Wimbledon on Sunday, in the tournament’s longest final match ever.