Chapter Seven · GitHub

GitHub: Putting It Somewhere Else

The halfway point, and the first time anything leaves your laptop. What GitHub is and is not, how you prove who you are without a password, your first push, cloning, and the sync loop behind the message every beginner meets in week one.

5 topics

Six chapters have happened with no account, no network and nobody's permission. That was deliberate, and it is worth noticing before it changes: everything you have learned so far is Git, and Git is a program on your own machine.

This chapter adds the second copy. GitHub is a company that stores copies of Git repositories on the internet and puts a website around them — issues, pull requests, review. The storage half is Git; the website half is not, and keeping that line clear is what makes the rest of your career portable to whatever host your employer happens to use.

Five topics: what GitHub is and is not, how you prove who you are without a password, your first push, cloning someone else's repository, and the sync loop behind the message every beginner meets in their first week.

Two copies of the same repository, and the website on one side
Your laptop
Git — the programcommits · branches · history
GitHub
A copy of the repositorythe same commits
The website — not Gitissues · pull requests · review

Topics in This Chapter