Just set an alias so when you call the git command it calls the right one instead of the wrapper...
alias git="/usr/local/git/bin/git"
Mac-mini:/$ git -version xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Mac-mini:/$ alias git="/usr/local/git/bin/git"
Mac-mini:/$ git -version Unknown option: -version usage: git [--version] [--help] [-c name=value] [--exec-path[=]] [--html-path] [--man-path] [--info-path] [-p|--paginate|--no-pager] [--no-replace-objects] [--bare] [--git-dir=] [--work-tree=] [--namespace=] []
alias git="/usr/local/git/bin/git"
Mac-mini:/$ git -version
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
Mac-mini:/$ alias git="/usr/local/git/bin/git"
Mac-mini:/$ git -version
Unknown option: -version
usage: git [--version] [--help] [-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>]