In this chapter, we will go deep into some of the fundamentals of Git. It is essential to understand how Git thinks about files, its way of tracking the history of commits, and all the basic commands that we need to master in order to become proficient.
The first thing to understand while working with Git is how it manages files and folders within the repository. This is the time to analyze a default repository structure.
In Chapter 1, Getting Started with Git, we created an empty folder and initialized a new repository using the
git init command (in
C:\Repos\MyFirstRepo). Starting from now, we will call this folder the working directory ...