how to update git from cli 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