Manchester City have confirmed that Pep Guardiola has signed a new contract to extend his stay at the Etihad Stadium.