After I forked qemu, these comands can sync the origin repo
# Add a new remote upstream repository (only for first time)
git remote add upstream https://gitlab.com/qemu-project/qemu.git
# Sync your fork
git fetch upstream
git checkout master
git merge upstream/master