# before: a repo with 2 sub-projects
.
└── repo
├── .git
├── projectA
│ ├── files
│ └── random
└── projectB
├── files
└── random
# after: 2 repos with the files of the sub-projects
.
├── projectA
│ ├── .git
│ ├── files
│ └── random
└── projectB
├── .git
├── files
└── random