How does a ganglion cyst differ from a synovial cyst?

No difference. They are essentially the same with respect to origin and tissue type.