merge private repo to public Clone the private repository git clone [email protected]:priv-repo git checkout main git pull git checkout -b priv-branch-dev git push -u origin new-branch-dev git push Public repo git remote add public [email protected]:publ-repo git push -u public new-branch-dev