Gimp only sees pixels, the physical size (centimeters) is determined by the print definition (or your screen definition).
See this: https://www.gimp-forum.net/Thread-Image-size-in-Gimp
See this: https://www.gimp-forum.net/Thread-Image-size-in-Gimp