Sparse Checkout git clone git@localhost:path/to/repository.git --no-checkout git sparse-checkout set src git checkout repository/ ├───src/ ├───LICENSE └───README.md