See problem and solution here: http://emacs.stackexchange.com/questions/17689/git-commit-uses-fundamental-mode-after-magit-update
Based on Steve Purcell’s one:
https://github.com/purcell/emacs.d