git pull --Transfer and merge the contents of the remote repository to the local repository
You can use the git pull command to transfer the contents of a remote repository to your local repository and merge the specified remote branch into your current branch.
The following merges into the current branch, specifying the remote repository "origin" and the remote branch "main".
# Transfer the contents of the remote repository to the local repository and merge git pull origin main
The git pull command merges with fetch " git fetch" " git merge" Is a command to execute at once.