git command to update from repository code example
Example 1: update git repository
$ git pull origin master
Example 2: how to update git
C:\> git update-git-for-windows
$ git pull origin master
C:\> git update-git-for-windows