Greener has a formula, at least a century old, that calculates the optimal twist for bullet diameter, muzzle velocity, and shape. All else being equal - seldom the case but still - a bullet fired down a barrel with the optimum twist for its caliber, form and mv, will be more accurate than if it were fired down a barrel with an other than optimum twist. While it is possible to over-stabilize a bullet, accuracy suffers first when a bullet is under-stabilized, by being fired through a too slow twist. (It fails to develop enough gyroscopic stability to minimize the effects of perturbances in its flight path.) Since, in any given cartridge, safe muzzle velocity decreases as bullet weight increases, a twist siutable for a light or mid-weight bullet will not optimally stabilize a heavy-for-cartidge bullet.
Rifle manufacturers must strike a happy compromise, choosing a twist rate that suits best for the most effective bullet weight range for any particular cartridge.
Only if your shooting is higly specialized - long heavy bullets for long range, for instance, do you really need to concern yourself with any but factory rates of twist.