Introducing Git
Git is the most widely used DVCS that plays a key role in modern software development. It was created by Linus Torvalds in 2005. Git is known for its efficiency, speed, and robust capabilities.
But Git is also known for being complex. It has memes like: git clone
, which leads to straightforward development, and git fork
, which leads to a complex maze, implying that forking repositories can be confusing. Two comics from the ever-popular xkcd are shown in Figure 3.1:
Figure 3.1: xkcd comics about Git
Git comic link: https://xkcd.com/1597/
Git Commit comic link: https://xkcd.com/1296/
The point is that you do not need to learn much about Git to be way ahead of most other developers. They tend to memorize a few commands and use them without deep understanding.
Features of Git
Git has key features including the following:
- Distributed version control: Git is a distributed SCM, which means that each developer working...