Question: Which statement is true when you use the git add -A command?

  1. Only new files in the working directory are staged to the index.
  2. All new and updated files from the working directory are staged to the index.
  3. All files in the working directory are staged to the index in alphabetical order.
  4. Only updated files in the working directory are staged to the index.

Answer: The correct answer of the above question is Option B:All new and updated files from the working directory are staged to the index.