Add magit as a package