What GitHub Does
Your code, online.
So far, your history lives only on your computer. If your laptop breaks, it's gone. And nobody else can work with you. GitHub fixes both. It keeps a copy of your repository online.

- History only on your laptop
- Laptop breaks, history gone
- GitHub keeps a copy online
What you get
With your project on GitHub, you get four big things. A backup, safe in the cloud. A way to share your work, with a link. Teamwork, where many people push and pull changes to the same project. And a portfolio, because employers really do look at GitHub profiles.
Local and remote
In Git words, the copy on your computer is the local repository. The copy on GitHub is called a remote. They're both full repositories, with the full history. You keep them in sync, by sending commits up, and bringing commits down.
Local repository
- On your computer
- Where you work
Remote repository
- On GitHub
- Where you share
Summary
GitHub keeps a remote copy of your repository, for backup, sharing and teamwork. Next, creating a repository on GitHub.
Key takeaways- Local: your computer
- Remote: GitHub
- Keep them in sync