GitLab download specific commit archive

Git hosting providers typically provide a way to download an archive of specific Git commit hashes. There may or may not be an archive link on the project page, but there is typically a URL format to download Git commit archives directly. On GitLab, download a specific commit archive using the following URL format:

https://gitlab.com/<namespace>/<project>/-/archive/<commit_hash>/<project>-<commit_hash>.tar.bz2

The older and less efficient suffix .tar.gz can be used if a system doesn’t have BZip2 installed, but that would be uncommon.