using gitcase.
Show: fix regexp.
simplify initGitCommand.
Git: fix git dir resolving.
GitCommand: fix options updating.