updating repository github code example
Example 1: update git repository
$ git pull origin master
Example 2: update github
Assuming you're using GitHub Desktop
Help > About GitHub Desktop > Check for updates
If an update is available you need to restart GitHub Desktop to install