I have just encountered this. I believe it is because of the clearml-agent 1.7.0 release which added this as default: agent.enable_git_ask_pass: true
To fix, add in agent.enable_git_ask_pass: false
to your config.
Deleting cached environment is also required, otherwise it will fail with the same error