Working with remote repositories
- Clone a repo from GitHub
git clone git@github.com:my_username/my_repository
cd my_repository
- Add a remote to an existing local repository
cd my_project
git remote add origin git@github.com:my_username/my_project
- Push your changes from local to remote
git push origin main
- Previous: Git Basics
- Next: Git Initial Configuration