mkdir myrepo && cd myrepo
git initSetup
git remote add origin -f [email protected]:USERHERE/myrepo.git
git sparse-checkout init
# Repo top level dir to match on sparse checkout (can specify multiple, space separated)
git sparse-checkout set scriptsVerify
git sparse-checkout listPull just the matches from a certain branch due to the sparse-checkout list.
git pull origin main