Hint 1: Gravitational potential energy is the integral of the gravitational force, and evaluates to a negative number, theoretically being zero when infinitely far away.

Hint 2: In the Newtonian gravitational field equation, it can be shown that $GM = gR^2$. That assumes a spherical body of course.