What does this command create in the current directory?
git init
- A remote named
origin - A default
.gitignorewith common rules - A first empty commit on
main - A hidden
.gitrepository directory
git init creates the .git directory holding the object store, refs and config. No commit, remote or ignore file is created.