Git Course 0%

Remote Repositories

Everything so far happened on your computer. This section adds the shared copy: the repository on GitLab or GitHub that the whole team pulls from and pushes to. It covers the four network commands and, more importantly, the two questions they raise every week: "why does git status say I am up to date when a colleague just pushed?", and "why was my push rejected?".

Before you start: Section 2 for the four areas and Section 6 for branches. Lab 2 connected your playground to a remote; this section explains what that lab did.

Lessons in this section

  1. What a remote is; clone vs fork vs ZIPIntermediate≈ 9 min
  2. Authentication quick-startIntermediate≈ 10 min
  3. Create a project in the web UIIntermediate≈ 8 min
  4. clone, remote, fetch, pull, pushIntermediate≈ 15 min
  5. fetch vs pull; origin/main vs main; divergenceIntermediate≈ 10 min
  6. When someone pushed before youIntermediate≈ 9 min
  7. Forks and the fork workflowIntermediate≈ 9 min
  8. Editing in the browser and pulling it backIntermediate≈ 7 min