Multiple repositories in git
So far we have been working with only one git repository. However, git is great for working with several repositories. These additional repositories can be stored locally, or accessed via network connection.
In the next section we will create a new repo called “cloned_hello”. We will discuss moving changes from one repo to another, and dealing with conflicts when working with two repositories.
Meanwhile, we will work with local repositories (the ones stored on your local HDD). Most of the information in this section can be also applied to working with multiple repositories no matter if they are stored locally or shared over a network.
NOTE: We will make changes to both copies of our repositories. Notice the repository you are on every stage of the next lessons.