O'Reilly logo

Learn Git in a Month of Lunches by Rick Umali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required