How to compact a .git directory

Once you have removed a load of files that shouldn't have been there in
the first place
iPhoto library dealt with