Moved magit initialisation.