sreenivas./courses
Git & GitHub for Beginners — all lessons

$ git status

Untracked files: notes.txt

MODULE 01 · 5 MIN READ

git status — your compass

Let's create a file and ask Git what it thinks of it.

git bash

$ touch notes.txt ← creates an empty file

$ git status

Untracked files:

notes.txt

touch isn't a git command — it just creates an empty file, and it works because you're in Git Bash.

“Untracked”, explained

Untracked means: Git sees a new file on your desk but has no photos of it yet. It's in the red zone — the working directory — and Git is politely pointing that out.

The habit to build today

git status never changes anything. It only tells you which zone every file is in. Run it before and after everything — it's free, it's safe, and it's your compass.

“When lost → run status.”

practice terminal — you cannot break it

a tiny simulated laptop. six commands, zero consequences.

$ 

// try: touch notes.txt, then git status