S

Satya • 2.41K Points
Master

Q. What does the 'git init' command do?

  • (A) Clones a remote repository
  • (B) Initializes a new Git repository in your current directory
  • (C) Pushes files to a remote repo
  • (D) Switches to the main branch
  • Correct Answer - Option(B)
  • Views: 13
  • Filed under category GitHub
  • Hashtags:

Explanation by: Satya
'git init' starts a new Git repository in your local folder.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.