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.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *