High-performance germanium nanowire-based lithium-ion battery anodes extending over 1000 cycles through in situ formation of a continuous porous network.