tweaked github GIT_COMMAND logic