Use JGit's shallow commits capabilities