Add magit to packages