git commit opened editor lost typing