Move to branch matching COMMAND if it's not supported, in pggit.sh.