Testing and Deployment
What is the primary purpose of a Git repository in an application deployment workflow?
Show the answer
Correct answerC. Store and version application source code.
AWhy not this: Runtime configuration management is distinct from source code version control.
BWhy not this: Container image layers belong in a container registry such as Amazon ECR.
CWhy this is right: Git tracks source files and their revision history for collaboration and deployment.
DWhy not this: Credential storage and rotation belong in a secrets management service.
A Git repository tracks source code and its change history, providing versioned inputs to deployment workflows. A container registry stores built container images rather than serving as the source code repository.