Skip to content
skillbld
Day 2 of 10 25 mingit initStaging areagit commit

Create a repository, learn Git's three areas and the add → commit loop, and read your project's status and history.

By the end of today you can

  • Create a repository with git init
  • Explain the working directory, staging area and repository
  • Use git status, git add and git commit confidently
  • Read history with git log and see changes with git diff
  • Write clear commit messages

What's inside

  • 7 sections
  • 3 diagrams and mind maps
  • 5-question quiz
  1. 1Create a repository
  2. 2The three areas
  3. 3Your first commit
  4. 4The life of a file
  5. 5See what changed: git diff
  6. 6Read the history: git log
  7. 7Writing good commit messages

Sign in free to read this lesson

Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.

Sign in free
Day 2: Your First Repository · Git & GitHub · SkillBld