Update magit and git modes