Fix magit settings