Libgit2 garbage collection /pack-files
In some post/answer I found that people are looking for reason on needing libgit2 garbage collection support. Here it is, I am using libgit2 v1.0 (older version for legacy reasons), My code does lot of commit/push in the repo and pull hashes/diffs at run time. So after few K commit’s , my git repo size reaches to 4GB.
create “master” first branch without commit using libgit2
On shell I can do something below using bash git