Git Pull
git pull brings your branch up to date with the remote. It is a git fetch followed by a git merge.
If you have not made commits of your own, the merge is a fast-forward. If both sides have new commits, Git asks you to choose how to combine them: set it once with git config pull.rebase false to merge, or git config pull.rebase true to rebase.
Pull the latest changes
git pull
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
From https://github.com/w3schools-test/hello-world
1d34a75..90a8a66 main -> origin/main
Updating 1d34a75..90a8a66
Fast-forward
README.md | 1 +
index.html | 1 +
2 files changed, 2 insertions(+)
Pull when you are already up to date
git pull origin
Already up to date.