Question: why z is pronounced as g?
Answer: 'Z' is pronounced as "zed" in British english because it is derived from Greek letter zeta whereas 'z' is pronounced as "zee" as in "zee tv" in American english. Both are right, just pronunciation differs.