updating git on mac

Shell
$ brew update && brew upgrade
Source

Also in Shell: