Sparse Checkout
You can use the Sparse Checkout tab to check out specific directories with the Sparse Checkout feature.
Navigate the Sparse Checkout tab
To open the Sparse Checkout tab, click Git > Settings. In the Git Settings tab, click Sparse Checkout.
To enable the sparse checkout feature, run the following commands in the command line.
git sparse-checkout init --conegit sparse-checkout add <directory>The Sparse Checkout tab displays the status of the Sparse Checkout feature and the directories included in the feature.
Add and remove directories
To add a directory to the Sparse Checkout feature, click Add Directories. To remove a specific directory from the feature, select a directory and click Remove.
Disable the sparse checkout feature
To disable the Sparse Checkout feature, click Disable Sparse Checkout.