I'm using a Mac that already has git
installed, and I want to update the version. I'd like to know how git was originally installed so that I can update it using the same tool.
I ran brew list
and didn't see git listed, so I'm not sure where else to look.
Does anyone know how I can approach this?
to find git installed in your mac, you can try to run command
which git
to show directory that git located in my mac it located
/usr/local/bin/git
Try it out, Thanks