I have a repository whose size has grown over multiple years. My problem is that since multiple people have worked on this repository, few commiters have commited lots of jpeg data or other dataset. These files ofcourse now doesnt exist in the master branch anymore because they are deleted. However, the .pack file in the .git folder shows 5G, where in the size of the master branch is just about 200M.
Now, I would like to push this repository to a server, but the server only accepts a maximum of 3 Gig.
Is there any way, I can list all files accross all the commits (not only in the master branch), but everywhere in the git repository which has contributed to the size of .pack file?
Seconly, after identifying files that I do not want to retain, is it possible to delete them completely in order to reduce the overall size of the push?