Add "log" sub-command into pggit.sh.

"log" sub-command shows commit logs.