how to pull the most up to date gitlab code example
Example: how to fetch upstream changes gitlab fork
# Git CLI
# Add a secondary remote called upstream.
git remote add upstream https://...
# Fetch the remote and then pull its changes into your local master branch.
git checkout master
git fetch upstream
git pull upstream master
# Last, push to your own remote origin to keep the forked repo in sync.
git push origin master