GitRemotes
git pull
Fetches commits from a remote and merges (or rebases) them into the current branch.
Syntax
git pull [--rebase] <remote> <branch>
Examples
Pull with rebase instead of a merge commit
git pull --rebase origin mainFetches commits from a remote and merges (or rebases) them into the current branch.
git pull [--rebase] <remote> <branch>
Pull with rebase instead of a merge commit
git pull --rebase origin main