i think i have two version of git installed.how i unninstall the old one?
warning: git 2.38.1 is already installed and up-to-date.
To reinstall 2.38.1, run:
brew reinstall git
vlad@vlads-Air ~ % git --version
git version 2.15.0
vlad@vlads-Air ~ % wich git
zsh: command not found: wich
vlad@vlads-Air ~ % which git
/usr/local/bin/git
vlad@vlads-Air ~ % git --version
git version 2.15.0
vlad@vlads-Air ~ % $ /usr/local/bin/git --version
zsh: command not found: $
vlad@vlads-Air ~ % brew update
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
Updated 1 tap (homebrew/core).
vlad@vlads-Air ~ % git --version
git version 2.15.0
vlad@vlads-Air ~ %
$ /usr/local/bin/git --version
is obviously a syntax error because of the stray$