0Pricing
Frontend Academy · Lesson

Remote Repos: push pull clone

Connect a local repo to GitHub, push commits to the remote, pull changes from teammates, and clone existing repositories.

What Is a Remote?

A remote is a version of your repository hosted on the internet (GitHub, GitLab, Bitbucket). You collaborate with teammates by pushing your commits to the remote and pulling their commits from it.

git clone — Copy a Remote Repo

git clone url creates a local copy of the remote repository, including all history and branches. The remote is automatically added as origin.

git clone https://github.com/user/repo.git
git clone git@github.com:user/repo.git  # SSH

All lessons in this course

  1. git init add commit and status
  2. Branching: branch checkout merge
  3. Remote Repos: push pull clone
  4. Pull Request Workflow on GitHub
← Back to Frontend Academy