FREELessons: 2Length: 4 minutes

• Overview
• Transcript

# 1.2 Git Basics: States

In this lesson, we’ll look at the various states that files can have in a Git repo: ignored, untracked, unmodified, modified, staged, and committed. Once you understand the flow between all these states, you’ll have an easier time working effectively with Git. I’ll also give you a sense of the bigger picture of the transition from untracked file to a cryptographically hashed version as it is committed to the Git repo and becomes an object in the .git directory.