cd existing_repo git remote rename origin old-origin git remote add origin https://gitlab.com/newproject git push -u origin --all git push -u origin --tags