I'm running Git version 1.6.5.1. The binary is sitting in /usr/local/git/bin. Is there an easy way to update to the latest version?
The easiest way to update Git on Mac is to use the official installer. Download the installation file from the Git website. Run the installation and follow the install wizard to update Git to the latest version. Note: Using the install wizard to update Git overwrites the current installation.
The latest version is 2.33.0, which was released about 1 year ago, on 2021-08-30.
Check your version of Git You can check your current version of Git by running the git --version command in a terminal (Linux, macOS) or command prompt (Windows).
It's a good idea to make sure you're running the latest version. To do so, Navigate to your command prompt shell and run the following command to make sure everything is up-to-date: sudo apt-get update . To install Git, run the following command: sudo apt-get install git-all .
I ended up just installing homebrew.
From the Git README file:
UPGRADING
Simply download the latest Git installer, run the provided uninstall.sh script, and then install as normal.
Download and install from Git's website
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With