He did not ‘grant’ independence: it was wrested from him. And he only partially avoided civil war. The truth is that the FLN had won independence by fighting and by mobilizing international support.
That's a comment on De Gaulle's handling of Algerian war of independence.