A good idea if upstream has had commits and, to catch up, you need to test your feature branch with changes from upstream included
git checkout feature
git pull origin master
Or if local master is already up to date with origin
git checkout feature
git merge master
See:
Once happy a feature is complete, tested and ready to go into master
git checkout master
git pull origin master
git merge feature
git push origin master
See: