The main line runs from Aldgate in the City of London to Amersham , with branch lines to Uxbridge , Watford and Chesham . The main line runs from in the City of London to , with branch lines to , and .