wp-content folder into a sandbox. You can deploy manually or on every push to a selected branch.

Connect a repository
Open Site settings, select Git Deployment, and choose Add repository.
The destination decides where files land:
wp-content/plugins/<folder>, wp-content/themes/<folder>, or wp-content/<folder>. That destination folder is fully managed by Git, so files removed from the repository are removed on the next deploy.

