Which command is used to create a new Git repository?
- git create
- git init
- git new
- git start
The correct command to create a new Git repository is git init. This initializes a new repository in the current directory, preparing it for version control. Other options provided are not standard Git commands for creating a repository.
Loading...
Related Quiz
- The ________ command in Git is commonly used to propose changes in a collaborative project.
- In the context of Git, what is a 'sparse checkout' and how does it improve performance with large repositories?
- In learning from Git failures, it's often found that improper management of ________ can lead to significant issues.
- What are the best practices for garbage collection in Git to optimize repository performance?
- The command to synchronize your Git Submodules with the main repository is git submodule __________.