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

Leave a comment

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