In git's process, there are two ways to get the latest version of origin project.
One is use the 'git pull' command, 'git pull' helps us get the latest version from the origin repository, and then it automatically conducts the 'merge' command at the same time.
$ git pull origin master
Another command is 'git fetch', it is much safer than the former 'git pull'. It can also help us get the latest version from the origin repository, BUT it doesn't automatically conduct 'merge'. Before 'merge', we can see clearly the current status and then decide whether to merge or not.
$ git fetch origin master
$ git merge origin master