Compatibility summary
You will need a travel adapter in Ghana; plug types used there differ from Germany.
Plug comparison
Germany plug types: C F
Ghana plug types: G
There is no common plug type between Germany (C F) and Ghana (G). You need a travel adapter.
Voltage comparison
Germany: 230V, 50Hz
Ghana: 230V, 50Hz
Voltage difference is within a range many devices tolerate; check your appliance label.