A remote repository

In this lesson you run the full exchange with a remote repository: clone, push, fetch, pull. You play both sides: first as yourself, then from a colleague's working copy. That is how you see where other people's commits come from and why git sometimes refuses to take yours.

What is already set up

The sandbox has no internet, and GitHub does not open here. The remote repository in this lesson is ~/remote/project.git, a directory on this same machine. Inside it is a bare repository: the bare contents of a .git folder with no working files, exactly what sits on a GitHub server behind a project address. The commands do not change because of that: git clone, git push, git fetch and git pull work the s

Locked

The rest of this lesson is part of a paid course

You are reading the open part. Buy the course to unlock the whole lesson and its lab.

See the course