update a repository terminal git code example Example: update git repository $ git pull origin master