What is the command to initialize a new Git repository?
- git init
- git start
- git create
- git begin
The correct command to initialize a new Git repository is git init. This command sets up a new Git repository, creating the necessary data structures and initializing a .git subdirectory in the project's root directory.
Loading...
Related Quiz
- GitLab’s CI/CD pipelines can be configured through a file named _________.
- In what scenario might you use a git filter-branch?
- How do branching strategies in Git influence project management in large enterprises?
- For large-scale open source projects, Git's ________ feature is essential for managing multiple project versions simultaneously.
-
If you need to review the history of changes within a specific file, use git _______
.