update code to github code example
Example 1: git update local repo from master
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