I understand that git fetch
downloads the data from the remote repository and only updates the remote-tracking branches, not yet merging into the local branches (thic can be done with git merge local_branch origin/remote_branch
). And that git pull
does all of this at once.
But I want to know: do both of these command download a single branch? Or do they download the entire remote repository (and in the case of git pull
, merge it) at once?