Fetch from Remote
Git · Remote Repositoriessyntax
git fetch [remote] [branch]example
git fetch origin
git fetch origin main
git fetch --alloutput
remote: Counting objects: 15, done.
From https://github.com/user/project
a1b2c3d..f4e5d6c main -> origin/mainNote Fetch downloads new data but does NOT modify your working directory or merge anything. It's always safe to run. Use --all to fetch from every configured remote.