There's no way Hydrogen in Germany would be more green than diesel. It'd just be greenwashing. You'd need to make electricity to make hydrogen, store it and transport it, then turn it back into electricity (that's how a hydrogen engine works, not by burning it). In the mean time, Germany is increasing it's production of dirty energy, so the hydrogen production would have to be done with dirty energy. There's no way that process is more efficient than just using diesel directly.
It might be better somewhere else, but not in Germany.