Upgrade version - fatal: not a git repository (or any of the parent directories): .git

Yes,

[WARN] Non-git install, updates are manual or from package

daily.sh can’t help you because you don’t have a installation from Installing LibreNMS - LibreNMS Docs

The “https://getcomposer.org/versions” file could not be downloaded: failed to open stream: Connection timed out

This indicates your machine doesn’t have access to internet