I have multiple projects in a Git repo as shown below
ProjA
|- file1
|- dir1/file2
|-dir2/file3
ProjB
|- fileA
|-dirB/file4
I need to migrate those projects to a new Git repo, which should have the following structure:
NewProj
|-- ProjA --| -file1
|-file2
|- file3
|--ProjB --|-file4
|--NewDir/fileA
Any help will be appreciated.