An alternative definition of the center of gravity of an object is the point at which the gravitational force on a point mass located at the point in question is equal to the total gravitational force acting on the object. The concept of center of gravity in a uniform gravitational field doesn't make sense with this alternate definition. It only makes sense in a non-uniform gravitational field.
With a gravity field that falls off linearly with distance, center of mass and center of gravity are the same. However, with a gravity field that falls off with the inverse square of distance, center of gravity and center of mass are not the same. For a small object, say something the size of the space station, the difference between center of mass and center of gravity is very small because the first order linear approximation is very, very good.
For a large object, say something the size of a space elevator, center of mass and center of gravity are very different. Lay literature on a space elevator often claim the center of mass needs to be at geostationary altitude. This is incorrect. It is the center of gravity that needs to be at geostationary altitude. The center of mass needs to be well above geostationary altitude.