Cleru Godhard
I know what came first , it was the manga.
I shall explain why the manga came first. The first few i dont know how many was about leouche and his rebelion, the second season in the manga was about the rebelion but this time we see the event true the eyes of suzuku or something. Both manga are still ongoing . Simple answerd the manga of code geass came before the anime .
razz there's three ongiong manga for code geass
Code Geass-Lelouch of the Rebellion(the one we all know and love)
Code Geass-Knightmare of Nunnally(nunna's adventure spinoff sorta thing)
Code Geass-Suzaku of the Counterattack(Suzy's adventure spinoff sorta thing)
I read all chapters of all three and i like the plot of Knightmare of Nunnally the most