Add Codeberg as a new remote:
git remote add codeberg https://codeberg.org/username/new-repo.git
Isolate the folder into a temporary branch:
git subtree split --prefix=your-subdirectory-name -b split-branch
Push that specific branch to Codeberg's main branch:
git push codeberg split-branch:main
© Copyright - 2025 - Tim Evans