Interacting with branches in remote repositories
As we’ve seen, having many branches in a single repository is very useful. Easy branching and merging allow for powerful development models that utilize advanced branching techniques, such as topic branches. This means that remote repositories will also contain many branches. Therefore, we have to go beyond just the repository to the repository interaction, as described in Chapter 6, Collaborative Development with Git. We have to consider how to interact with multiple branches in the remote repositories.
We also need to think about how many local branches in our repository relate to the branches in the remote repositories (or, in general, other refs). The other important knowledge is how the tags in the local repository relate to the tags in other repositories.
Understanding the interaction between repositories, the branches in these repositories, and how to merge changes (as described in Chapter 9, Merging Changes Together...