1 서브모듈 추가하고 싶은 폴더로 가서
$git submodule add https://github.com/example/submodule.git path/to/submodule
2 변경 사항 커밋: 서브모듈을 추가한 후, .gitmodules 파일과 서브모듈 디렉토리에 대한 변경 사항을 커밋합니다.
git add .
git commit -m "Add submodule"
3. git push
=========
전체 pull 하고 싶을때
최초한번
git submodule update --init --recursive
그 후
git submodule update --remote --recursive