Source: cirosantilli/git-tips/oh-but-there-are-2-trees-local-and-remote

= Oh, but there are 2 trees: local and remote

Oh but there are usually 2 trees: local and remote.

So you also have to learn how to observe and modify and sync with the remote tree!

But basically:
``
git fetch
``
to update the remote tree. And then you can use it exactly like any other branch, except you prefix them with the remote (usually `origin/*`), e.g.:
* `origin/master` is the latest fetch of the remote version of `master`
* `origin/my-feature`  is the latest fetch of the remote version of `my-feature`