Support patch command in pggit.sh.