Maybe you only need a shallow checkout?
.gitignore