AI Hints
Home›Git & GitHub Tutorial›Meet GitHub
Git & GitHub · Lesson 53 of 144

What GitHub Does

Your code, online.

⏱ 2 min read▶ Video at 57:11🎓 Free
Watch this lesson in the Git & GitHub courseWatch on YouTube ↗Full Git & GitHub course

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.

What GitHub Does
From the video: What GitHub Does
  • 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.

Backupsafe in the cloud
Sharingsend a link
Teamworkpush and pull together
Portfolioshow your work

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
Next up: A Repository on GitHub — creating it on the website