How do I add client certificates?
You can add your client certificates in ~/.docker/certs.d/:/client.cert and ~/.docker/certs.d/:/client.key. You do not need to push your certificates with git commands.
When the Docker Desktop application starts, it copies the ~/.docker/certs.d folder on your Windows system to the /etc/docker/certs.d directory on Moby (the Docker Desktop virtual machine running on Hyper-V).