git latest version update code example Example 1: how to update git git update-git-for-windows Example 2: how to update git C:\> git update-git-for-windows