Previously working deployment is now failing, nothing has changed

We have found our deployments are no longer working from last night, nothing has changed in our yml file that’s been working for a year, repositiories and circle setup are all identical to last weeks. Could anyone shine some light or experienced this today?

Please see below the error that we have found on the npm install stage:

#!/bin/bash -eo pipefail
npm install
npm run npmcheckversion /root/repo
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git checkout master
npm ERR! error: pathspec ‘master’ did not match any file(s) known to git.
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-06-01T08_20_42_974Z-debug.log

Exited with code exit status 1
CircleCI received exit code 1