git checkout [가져올_폴더가_속한_브랜치_이름] -- "폴더 경로"
ex)
main 브랜치의 src/app/a_folder를 현재의 브랜치로 가져오고 싶다면
main
git checkout refactor -- "src/app/a_folder"