This article is not a tutorial of git command, there are already so many articles explained the usage of git.
So it is only a sticky note for me, only !
To pull a project, the command is pull or fetch, and to override local change, the option is –hard.
git fetch --all
git reset --hard origin/master