How to Shallow Clone With Git
If you git clone, the default behavior of is to download all commits and store them locally. Sometimes you only want to check the latest states. With shallow clone you tell git how many commits to pull.
git clone -–depth <depth in numbers> <url> # Example (for future me to copy paste) git clone -–depth 1 <url>
Apparently you can also clone a single branch like this:
git clone <url> --branch <branch-to-clone> --single-branch [folder-to-store]