<p>I have migrated a couple of project from Subversion to git. It work really well but when I clone my repository, it's really long because I have all the history of a lot of .jar file included in the transfer.</p>

<p>Is there a way to keep only the latest version of certain type of file in my main repository. I mainly want to delete old version on binary file.</p>

In short, this would involve rewriting the entire git commit tree to exclude the files.
Have you tried using
```
git gc
```
and
```
git pack
```
to have git compress your repository?