Add magit support