Step-by-Step on How to Update Git on Mac, (This loads the path to the script in the terminal.) Press Enter Finally, you need to logout of your Mac OSX user account and log back in. Close Terminal and reopen then check version $ git -version. Install Git with Homebrew $ brew install git. brew update & brew upgrade Close Terminal and reopen then check version $ brew update & brew upgrade. Installing and upgrading Git, “How to upgrade Git (Mac OSX)” is published by katopz.
Now check git -version, it should give you the latest version. If it comes back with I did it in this way: Open GitHub application installed on Mac Click on Advanced tab → Install command line tools Once you get a message that all commands have been installed close your terminal and reopen it. Open your terminal prompt and type the following: git -version. How to upgrade Git to latest version on macOS?, A quick way to update your Git client to the official distro.