Essentially, yes. They are the same game under different regional names.
Monster Hunter 2G was the Japanese title, and Monster Hunter 3 Unite... more precisely, the "Unite" and "G" branches of the series both denote expanded re-releases of an earlier entry, adding monsters, quests, and equipment rather than being full sequels.
If you are comparing two specific boxes, check the platform and region on the cover, since the naming conventions across the series are genuinely confusing and the same subtitle has been reused on different hardware.