GitLab allows to perform shallow repository clones (and it seems to be the default in recent versions...