remove git error text from file.