Add magit to dependencies