diff- and log- family: handle "git cmd -h" early