Mac os x uses
which git to view git discovery in the
/usr/bin/git directory, which may be installed together when I talling xcode, and the version is 188.8.131.52.
If you want to upgrade to a new version, download the git-osx-installer Choreographer installation, and check it out on the command line that's still an older version, and discover that this installation package is installing git under directory.
I'm going to use this new version of git, and ask how to set it, or there's another way to do it.