If you want to use Restic (or any other deduplicating backup tool) for backing up Git repositories with lots of large binary files, this blogpost might be helpful: https://olivergerlich.wordpress.com/2025/01/10/efficient-backup-of-a-git-repository-with-deduplication/ .
Unfortunately I did not find an _easy_ solution for this; but at least it is possible to make space-efficient backups in this case.

#Backup #Git #Restic #BorgBackup #GitLFS #gitannex #Hachoir

Efficient Backup of a Git Repository with Deduplication

Summary: when using a deduplicating backup tool (like Restic or Borg) to back up a Git repository with large binary files, deduplication will not work as desired, and the large files will take up t…

Olivers Weblog