Git · Junior · Question 40 of 75
What does git init do?
- ✓Correct answer: Creates a new repository in the current folder
- 2Downloads a repository from a server
- 3Resets an existing repository to empty
Explanation
It creates the .git directory with an empty history. Files in the folder stay untracked until you add and commit them.