Involved in disulfide bond formation. Functions probably as a disulfide isomerase with a narrower substrate specificity than DsbC. DsbG is maintained in a reduced state by DsbD. In vitro, displays chaperone activity in both redox states (By similarity). Homodimer. Belongs to the thioredoxin family. DsbC subfamily.