Git Error when rebuilding app - couldn’t find remote ref refs/heads/tests-passed

I suspect you’re doing this on a corporate network that uses a MITM-inspecting proxy for outbound web traffic?

If so, you’ll need to configure your server (and the docker image) to trust your Enterprise CA Root.