GdTiGe (CeScSi-type structure) and GdTiGe (CeFeSi-type structure) as the coherent phases with different magnetic and hydrogenization properties