Thanks to my colleague Istvan I have learnt another interesting function of git today. Quote from his email:
„Git stores its repository compressed, but incremental updates (commits) are compressed incrementally too. The whole repo can be recompressed alltogether, making it much smaller, so it can be accessed faster.“
Magical command follows:
git gc --aggressive
It can reduce size of your local git repository almost twice.