Chapter 11. Cloning
Cloning, the act of making a physical copy of a Git repository, is the first step in collaborating with others. You’ll be covering collaboration over this and the next three chapters. When you clone a repository, you make an exact replica of that repository. The clone has a special reference to the original repository. This reference lets your clone push (send) and pull (receive) changes to and from the original repository. You’ll study this special reference (called a remote) in the next chapter, and then read about push and pull in chapters 13 and 14.
In this chapter, you’ll make a copy of your repository by using git clone. You’ll examine your clone and figure out how to confirm that it’s an exact copy of the original, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access