Question: What files is this .gitignore programmed to leave out?

  1. All files with a .swift, .txt, or metadata file extension, as well as the entire build directory
  2. Only the build directory
  3. All files in the build directory, as well as files ending with .txt or .metadata
  4. Only files with .swift and .txt extensions.

Answer: The correct answer of the above question is Option C:All files in the build directory, as well as files ending with .txt or .metadata