Chapter 6

GitHub: the cloud and working together

Updated July 31, 2026

While the repository sits only on your own disk, the project has exactly one copy. Drown the laptop in coffee and the whole history goes with it, branches and all. There is also no way to show the work to anyone: mailing a zipped folder around is not a plan. This chapter puts the repository on the internet, pulls other people's projects down from it, and teaches you to work on the same code with someone else.

A remote is an ordinary repository

A remote is the same kind of git repository as yours, it just sits on someone else's machine. Same commits, same branches, same history in the .git folder. There is nothing special on the server side either. Copy your project to a USB stick and the stick becomes a remote.

It buys you two things. A

Locked

The rest of this chapter is part of a paid course

You are reading the open part. Buy the course to read the whole chapter.

See the course