Check the calibration settings on each unit. Barometric altimeters are more accurate than GPS if they're calibrated appropriately. Garmins have settings to calibrate it when you pass a saved location, or from GPS either continuously or just once at the start of a ride. Different settings on different units can make them disagree about how much uphill there was because they'll count differently.