Git Checkout devops suddenly failing and causing deploy to fail

This weird behavior started just today.

Currently the build passes, but then the checkout devops branch command fails.

Then hunders of these show up:

error: unable to read sha1 file of...

What could be the problem here?