Manchester City have sold young winger Farid Alfa-Ruprecht to Bayer Leverkusen after three years at the club.