Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

  • Overview
  • Transcript

1.1 Introduction

In this course I'll teach you about Git's three trees: the HEAD, the index, and the working directory. Follow along as I explain the role of each and how they interact as you update and commit code.

1.Git Basics: The Three Trees
2 lessons, 05:28

Free Lesson

Git Basics: The Three Trees

1.1 Introduction

In the short coffee break, we're gonna look into the idea of the three trees and Git. To better understand how Git is operating, we can use the metaphor of the three trees. These trees are sort of different collections of files that a workflow of adding and retrieving commits Git uses three different versions of files. Git uses the working directory, the index and something called head for creating and for retrieving commits.

Back to the top