Skip to content
Beginner

Your first commit

Start from an empty folder. Turn it into a Git repository and record your first snapshot.

Goal

Initialize a repository, stage a file, and create your first commit.

Available commands

Hints

  • Stuck? Reveal a hint — no penalty.

Empty folder

Run git init to create a repository.

bash — gitscope
GitScope terminal — a safe Git simulation.
Try: git init

Working directory

Clean — no uncommitted changes.

git add ↓

Staging area

Nothing staged. Run git add.

git commit ↓

Repository

No commits yet.