If you are not familiar with Git, check out our getting started article. These examples are based on Linux.
The pull command pulls a file from the master Git repository into your local Git repository (branch), which ensure you are working with the latest copy of the file from your master Git repository. For example, let's say you want to pull foo.txt into your local Git repository.To do this, you must first be in your local branch.
The git pull command without any options will pull every file from your master Git repository into your local Git branch.
The prior command will return "Already up-to-date" if your the files in your local Git repository are the same revision as the files in the master Git repository.
The -q or --quiet option can be used to suppress output. These options are useful when using git in a script.
git pull --quiet