Upgrade magit and add some settings for Emacs GUI