git clone old-repository
cd old-repository
git remote rename origin old-origin
git remote add origin https://new-repository-address.git
git push -u origin --all
git push -u origin --tags
git push origin localBranchName:remoteBranchName
git clone old-repository
cd old-repository
git remote rename origin old-origin
git remote add origin https://new-repository-address.git
git push -u origin --all
git push -u origin --tags
git push origin localBranchName:remoteBranchName