I want to use my Windows 10 host machine's git credentials with docker-compose without having to enter the credentials within the container.
Edit
Saving my key in the image should not be done. Developers will all be running containers based on the same image. Ideally when the container starts up, through docker-compose, it will pull from the git repo, using the individual developer's git credentials.
The image is Ubuntu, while the host is Windows 10 using Git Credential Manager for Windows (GCM) as a credential helper.