Random failure to detect new commit with 'credential-' is not a git command error
Sometimes, Bamboo will fail to detect changes with the following appears in the
2018-12-11 13:17:01,105 INFO [9-BAM::PlanExec:pool-15-thread-2] [DefaultErrorHandler] Recording an error: Unable to detect changes : PROJ-PLAN : command [/usr/bin/git -c credential.helper= -c 'credential.helper=store --file=/atlassian-bamboo-6.7.1/temp/gitCredentials6508400551221807946.tmp' ls-remote REPO_URL] failed with code 128. Working directory was [/atlassian-bamboo-6.7.1/temp]., stderr: git: 'credential-' is not a git command. See 'git --help'. Did you mean this? credential
Bug in certain version of Git client.
Upgrade Git client to the latest version