I have cloned a repository from GitHub, created two local branches and made several commits to them. In the meantime I decided to not integrate the features implemented in these branches to the original repository but rather to a new repository.
How can I transfer all commits in these two branches (but not the already existing commits from the original repository) to a new repository?