Upon achieving independence from the United Kingdom, the name Ghana was chosen for the new nation—a reference to the Ghana Empire of earlier centuries.
This name is mostly symbolic, as the ancient Empire of Ghana was located to the north and west of current-day Ghana. The name was adopted as a reference to the descendants of the ancient Empire of Ghana who migrated south and east and currently reside in Ghana.
Source: www.wikipedia.org