Su - librenms git pull ./daily.sh not working

I am following the instructions to update via:

su - librenms
git pull
./daily.sh

but I get the following after issuing git pull:
$ git pull
error: object file .git/objects/22/3a5b15dc238bba6858357582e97dd6c5275dd6 is empty
error: object file .git/objects/22/3a5b15dc238bba6858357582e97dd6c5275dd6 is empty
fatal: loose object 223a5b15dc238bba6858357582e97dd6c5275dd6 (stored in .git/objects/22/3a5b15dc238bba6858357582e97dd6c5275dd6) is corrupt
fatal: The remote end hung up unexpectedly

Can someone help me?