add magit training mode