Magnetoresistance anomaly in Fe5GeTe2 homo-junctions induced by its intrinsic transition