Controlling Lithium Dendrite Growth: An Operando X-ray Study