Git pull error when upgrade daily.sh manually

Hi Everybody

I have a fresh librenms install, with some error. the base system debian 10.
When I run daily.sh the all of the resoults OK but after run validate.sh I got an error
Ok I have to upgrade the daily.sh manually, but when i run got the following error

librenms@sl2603:~$ git pull ./daily.sh
fatal: invalid gitfile format: ./daily.sh
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

How can I fix it ?

Thanks
Zoltan