adding magit mode