git clone 디렉토리에서 저장소
git clone [repo]
cd [name of sub-dir]
git filter-branch --prune-empty --subdirectory-filter [path to sub-dir] HEAD
를 복제하는 방법만 하위 디렉터리로 git
Cloning only a subdirectory is not possible in Git.
The network protocol doesn't support it,
the storage format doesn't support it.
Every single answer to this question always clones the whole repository.