Get startedGet started for free

Adding a file to the staging area

The staging area is used by Git to track changes to files within your current directory and sub-directories.

You've created a report.md file for your mental health project. In this exercise, you'll add this file to the staging area.

This exercise is part of the course

Introduction to Git

View Course

Exercise instructions

  • Place report.md, which is in your current working directory, in the staging area.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise