So in my textbook I am told:
two masses have gravitational potential energy because work had to be done in order to move one the masses form a position very far away (lets say infinity) to the position near the other mass.
Additionally, I found on a physics forum:
"zero potential energy is at an infinite distance from the centre of a spherical object."
I am lost. My intuition suggests that you have zero gravitational potential energy when the two masses are right next to each other! As gravity is attractive, you need to do work in fact get away, not to get closer! So when you are "infinitely" far away from another mass m (there exists nothing else other than m and you), you actually have very high gravitational potential energy (I know I am over-simplifying).
What am I getting wrong?