Repository
Git takes up as much space as each version of your files is compressed. If you plan to archive pre-compressed data such as photos, be prepared for huge .git growth.
As of 2011, Git does not use binary differences, such as, for example, Subversion, and saves binary files as they are compressed.
If you do not have enough disk space, consider using other, more efficient in terms of disk space, specialized backup solutions. Borg , attic , restic , duplicity , zbackup come to mind.
source share