Course Git & GitHub for Beginners

What is Git?

Getting Started Preview

Version control

Version control records every change to your files — who changed what, when, and why — and lets you go back to any point. Git is the industry standard.

Why it matters

  • Never lose work: every version is saved
  • Experiment freely: branches isolate changes
  • Collaborate without overwriting teammates
  • Explain history: every change has a message

Git vs GitHub

Git is the tool on your machine that tracks history. GitHub is a hosting service for Git repositories that enables sharing and collaboration.

Key terms

TermMeaning
RepositoryA project tracked by Git
CommitA saved snapshot of changes
BranchA separate line of work
RemoteA copy hosted elsewhere (e.g. GitHub)
Pull requestA proposed merge for review

Git works locally

Git tracks history on your machine first — commit as often as you like; nothing is shared until you git push.

Tip: The golden habit: commit small, commit often, with a clear message. History is only useful if it makes sense.

This is a free preview lesson

Enroll in the Git & GitHub for Beginners to unlock every lesson, lesson PDF guides, quizzes and your certificate - and start creating your own pieces today.


Discussion

Free preview lesson