Chapter 1. Introduction to Git
Simply put, Git is a content tracker. Given that notion, Git shares common principles of most version control systems. However, the distinct feature that makes Git unique among the variety of tools available today is that it is a distributed version control system. This distinction means Git is fast and scalable, has a rich collection of command sets that provide access to both high-level and low-level operations, and is optimized for local operations.
In this chapter you will learn the fundamental principles of Git, its characteristics, and basic git commands, and you’ll receive some quick guidance on creating and adding changes to a repository.
We highly recommend that you take time to grasp the important concepts explained here. These topics are the building blocks of Git and will help you understand the intermediate and advanced techniques for managing a Git repository as part of your daily work. These foundational concepts will also help you ramp up your learning when we break down the inner workings of Git in chapters grouped in Part II, “Fundamentals of Git”, Part III, “Intermediate Skills”, and Part IV, “Advanced Skills”.
Git Components
Before we dive into the world of git commands, let’s take a step back and visualize an overview of the components that make up the Git ecosystem. Figure 1-1 shows how the components work together.
Git GUI tools act as a frontend for the Git command line, and some tools have extensions that integrate with ...
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