Predict Status After Init
Predict Output Beginner
Question
After `git init` in an empty folder, what does `git status` show?
Code
git init
git status
Hint
A fresh repo has no commits and no files.
Explanation
In a freshly initialized repository, git status reports the branch name (main or master depending on config), 'No commits yet', and 'nothing to commit'. There are no files to track because the directory is empty.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.