On 29 November 2019, Gil scored his first goal in European competition when he scored in a UEFA Europa League game against Qarabağ FK which ended 2–0 in favour of Sevilla. The following 31 January, he moved to fellow top tier side CD Leganés on loan for the remainder of the season. On 19 July 2020, Gil scored against Real Madrid in a 2–2 home draw on the final day of the season.