

Lesson 03 · 11 min
clone, push, pull
A remote repository is one more copy of the history. origin is usually GitHub. push sends, pull fetches.
11 minLesson 3 of 8Practice includedAsk AI on any point
git clone <url> copies a repository and sets up origin right away. git remote -v shows the address. git push -u origin main sends the branch the first time and remembers where to push next. git pull fetches other people's commits and merges them into the current branch.
Sign in to continue
The rest of this lesson opens after sign up
The first lesson of every course is open without an account. To read on, solve the practice and use Ask, create a free account or log in.