ubuntu upgrade git to latest version code example Example 1: how to update git git update-git-for-windows Example 2: git update to latest version mac brew install git