See problem and solution here: http://emacs.stackexchange.com/questions/17689/git-commit-uses-fundamental-mode-after-magit-update