Getting Started
This chapter will be about getting started with Git. We will begin by explaining some background on version control tools, then move on to how to get Git running on your system and finally how to get it set up to start working with. At the end of this chapter you should understand why Git is around, why you should use it and you should be all set up to do so.
About Version Control
What is “version control”, and why should you care? Version control is a system that records chan...
Control Systems
Local Version Control Systems Many people’s version-control method of choice is to copy files in...
Snapshots, Not Differences
The major difference between Git and any other VCS (Subversion and friends included) is the way G...
Nearly Every Operation Is Local
Most operations in Git need only local files and resources to operate — generally no information ...
Git Has Integrity
Everything in Git is checksummed before it is stored and is then referred to by that checksum. Th...
Git Generally Only Adds Data
When you do actions in Git, nearly all of them only add data to the Git database. It is hard to g...
The Three States
Pay attention now — here is the main thing to remember about Git if you want the rest of your lea...
The Command Line
There are a lot of different ways to use Git. There are the original command-line tools, and ther...
Installing Git
Before you start using Git, you have to make it available on your computer. Even if it’s already ...
First-Time Git Setup
Now that you have Git on your system, you’ll want to do a few things to customize your Git enviro...