CHAPTER 2

image

Working with Well-Known Repositories

We will start our tour exploring existing and quite well-known repositories. The main goal of this chapter is to get familiar with repositories—their types and structure. In this chapter, you will learn the following:

  • What are the most popular hosting solutions for git repositories?
  • How to create a local copy of a repository that is hosted on Github.com or Bitbucket.org?

Once we know how to clone a repository, we can then analyze its structure. Then we will explore the working directory—the git directory and its contents. At that point we will be able to classify a repository as either bare or ...

Get Git Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.