In case of galvanic cells. Gibbs energy change ΔG is related to the electrical work done by the cell.
ΔG = -nFE(cell) where n = no. of moles of electrons involved
F = the Faraday constant
E = emf of the cell
If reactants and products are in their standard states ΔGo = –nFEocell
If you do not know what is all this, kindly ask another query.