Don’t store it in diatomic form. Ammonia is the common alternative for hydrogen storage and transport, iirc
And even if round trip efficiency is poor, if renewables are in excess, it would be so much better to dump that energy into something that to have to curtail.