I'm using a remote git repository with multiple branches.
From the documentation I understand that I switch between branches by doing
git checkout master
or
git checkout branchname
I also understand that the repository is cloned onto my local machine (and that this is updated by doing git fetch)
But when I do
git checkout master
git checkout branchname
git checkout master
in quick succession the system clearly downloads stuff from the server (at least, /sbin/ifconfig shows I'm downloading tens of megabytes)
What have I misunderstood here?