Manchester City defender Alex Greenwood has undergone knee surgery on a medial collateral ligament (MCL) injury.