Remove git-modes and update magit, adapt to git-settings.