
I probably have some left over path settings on my system from working with Ruby last year. If anyone has some insight as to why this worked, further insight would be greatly appreciated. Then I recalled I have Homebrew installed on my Mac and ran the following: brew -version I am running OS X Mavericks version 10.9.4. Specifically, Dropbox Update: Works in the. I looked for /etc/path/ folder as instructed above and the directory called "path" does not exist on my Mac. Dropbox Update is installed alongside the Dropbox desktop application on Mac computers running a supported macOS. dmg installer and when I restarted the terminal, still no go. I followed the README.txt instructions for upgrading to the current version 2.0.1 that comes with the. Every time I quit the terminal and restarted it, when I typed git -version the terminal, it still return the older version 1.8. I updated my terminal path by using the above mention export command. Nice! We’re safe now! And next time you can just…Īfter searching for "trouble upgrading git on mac" on Google, I read several posts and attempted the following before resolving the problem by completing step 4: Quit terminal and open a new terminal, then check version.

#UPDATES FOR MAC INSTALL#
To automatically install macOS updates, select Automatically keep my Mac up to date. On your Mac, choose Apple menu > System Preferences, then click Software Update.

$ sudo mv /usr/bin/git /usr/bin/git-apple Set your Mac to check for software updates automatically. IF YOU DON'T HAVE HOMEBREW, FOLLOW THESE STEPS If however you still see apple version, then type the following two lines, which will manually set our path to the local git distro instead of the Apple one. If the output of the above command shows the latest version and does not mention Apple with the version details, then you are all set. This should automatically install git and set it in your path, replacing the Apple one. It's simple if you already have Homebrew:Īssuming you have homebrew installed, type the following: brew install git
