LEARNGIT.IO
Fundamental Operations

Practice

Beta

Your turn — type commands to complete the exercise.

No commits yet

bash

After initialization, your current worktree will be shown in the visualization (i.e. untracked, modified, and staged files), but remember git status prints this same information to your terminal.

Shell commands that will be helpful during this exercise are:

  • touch [filename] to create files
  • ls to list files in the current directory
Was this lesson helpful?