# How can you configure Argo CD to automatically sync an application when changes are detected in Git?

Argo CD, Medium (Advanced), Concepts. https://k8wiz.com/uquiz/how-can-you-configure-argo-cd-to-automatically-sync-an-application-when-changes-are-detected-in-git

- A. Enable the 'auto-sync' option in the application
- B. Set up a webhook from your Git provider to Argo CD
- C. Use the 'argocd app set <APP_NAME> --sync-policy automated' command
- D. All of the above

**Answer:** All of the above

**Explanation:** You can configure auto-sync in Argo CD through multiple methods: by enabling the 'auto-sync' option in the application UI, by setting up a webhook from your Git provider to Argo CD for immediate updates, or by using the CLI command 'argocd app set <APP_NAME> --sync-policy automated'. All these methods achieve the same result of enabling automatic synchronization.
