Speed up is_git_command() by checking early for internal commands

This avoids the quite slow load_command_list() / list_commands_in_dir() to
be called for help on internal commands.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>