I have created a repository on GitHub with the snapshot of the blockchain database folder that I am updating every day by command:
git pull
git fsck
git prune
git add .
dt=$(date '+%d/%m/%Y');
git commit -a -m "$dt"
git push
This repository later is used for fast synch using the git clone -b main --depth 1 --single-branch https://github.com/myrepository/repository.git
command.
The problem is that the .git folder on the server-side that is updating the repository is extremely huge x times more than the actual size of the blockchain folder. Is that any chance to decrease the size apart from removing and re-creating the repository?