Hierarchically porous germanium-modified carbon materials with enhanced lithium storage performance.