The previous chapter taught you a little bit about the essential features of Git. You should know how to check the history log and see the changes made to the current version. But Git commits are a tough bone to bite, so we are going to talk about them more in this chapter. First, we will explore (again) the inner working of Git and its terminology. Then, we’ll learn how to view and check previous versions. Let’s go!
The three states of Git
Before talking about commits in detail, we have to go back to the basics and relearn about how Git works. You surely remember the three states that a file ...