安装 "GitHub for Windows" 后 git 命令在哪里?

Where is git command after installing "GitHub for Windows"?

安装GitHub for Windows后,我可以直接在Powershell中使用git命令:

C:\Users\xiaona\Documents\GitHub> git
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

The most commonly used git commands are:
   add        Add file contents to the index
   bisect     Find by binary search the change that introduced a bug
......

但是 git 命令安装在哪里?我在 C:\Program FilesC:\Program Files (x86) 中找不到它。

在我的电脑里:

C:\Users\Administrator\AppData\Local\GitHub

检查后,应该在:

%LocalAppData%\GitHub

例如,在我的电脑中,它是:

C:\Users\xiaona\AppData\Local\GitHub\PortableGit_c2ba306e536fdf878271f7fe636a147ff37326ad\bin