Git: Set up a remote and push
A short, tested Git example for set up a remote and push. Copy it and adjust the names and paths for your project.
Git
git remote add origin git@github.com:user/repo.git
git push -u origin main # first push, sets upstream
git push
git remote -vFind it in Zest
Search for “git set up a remote and push” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.