brew install git version check termina code example Example: git update to latest version mac brew install git