Here is the official website of the French administration https://www.service-public.fr/particuliers/vosdroits/F2231, please follow the steps indicated in order to extend your student visa in France.