A simple script to automate the steps needed to update the current git installation to the latest version.
The script is executed by calling it on the command line and passing the version to update to as the first parameter.
$ ./update-git.sh 1.8.5.2
Note: The last version number has no dot.