Speed up your development pipeline

On very large repositories, with a lot of files and history, downloading the git repository can take a lot of time. For most scenarios, like the CI pipeline for example, only the latest version of the files is sufficient. No need for a full local repository with all branches and history. This can easely be achieved by doing a shallow clone with depth 1.

git clone --depth 1 <repository-url>

Go ahead and test yourself how much time you could save with this very small tweak on your development pipeline.