← Your First Commit
Initialize a repository
Learn
Start tracking: git init
git init turns the current directory into a repository by creating a hidden .git/
folder, where Git keeps every snapshot and setting. -q keeps it quiet.
git status shows you where you are, at every step from now on: which branch you're
on, whether there are commits yet, and which files Git can see but isn't tracking.
git init -q
git status
Type each command into the terminal and press Enter.
Your task
Run git init (quietly, with -q) to start tracking this folder, then git status to see its state. Notice it reports No commits yet and lists README.md as untracked.