Galactic calibration of the tip of the red giant branch