how to change project in github to push code using terminal code example Example: git push existing code to new repository git remote add origin <remote repository URL>