Switches an option in magit