Git Init Quiz
Multiple Choice Beginner
Question
What does `git init` do?
Hint
init stands for initialize.
Explanation
git init creates a new empty Git repository by creating a .git subdirectory in the current folder. It does not download anything (that is git clone), delete files, or connect to a remote. After init, the folder is ready to track changes.
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.