KOSUNI KOREA
Korean News in English
Technology

Get Started with Git and GitHub in Your Coding Journey

Published October 16, 2026 · 1 views
Get Started with Git and GitHub in Your Coding Journey

What You'll Learn in This Lesson

So far, we've installed Cursor AI, set up our development environment, and learned how to interact with AI.

But even if AI writes great code, failing to properly manage your project can lead to serious issues.

For example, you might accidentally delete an important file or find that code working yesterday suddenly breaks today.

This is where Git comes in handy.

And the service for storing and backing up projects managed by Git online is GitHub.

In this lesson, we'll explore the basic concepts of Git and GitHub, and why they're essential moving forward.


What Is Git?

Git is a version control system (VCS).

You can think of it as a time machine for your project that records every change.

Like saving a document multiple times, Git records the code each time it changes.

This means you can always revert to an earlier state if something goes wrong.


Why You Need Git

Consider this scenario:

You've just modified a login feature that worked perfectly yesterday, but now it's causing errors across all pages.

In the old way, you'd have to search for backup files or start over from scratch.

With Git, however,

'Restore to yesterday's state.'

is all you need to say to recover the previous version.

This is Git's biggest advantage.


What Is GitHub?

GitHub is a service that stores your Git-managed projects online.

If Git is like a notebook, GitHub is the cloud storage where you keep it.

With GitHub, you can:

  • Back up your project

  • Work across multiple computers

  • Collaborate with others

  • Share code

  • Integrate with AI tools

In this lesson, we'll use GitHub not just as a storage location but as a space to develop alongside AI.


The Difference Between Git and GitHub

Many beginners confuse Git and GitHub as the same thing.

But they serve different purposes.

Category

Description

Git

A program that manages project versions on your local machine

GitHub

A service for storing Git projects online

In short, you need Git to use GitHub.


Why Git Matters in the AI Era

Cursor AI is a powerful development tool.

But even AI can make mistakes.

For example:

  • Editing files incorrectly

  • Generating unwanted code

  • Removing existing functionality

If you don't have Git, it's difficult to undo these changes.

With Git, however, you can restore AI-mistake code in seconds.

In other words, the more you use AI, the more important Git becomes.


What Git Records

Git records nearly every change to your project.

For example:

  • New file creation

  • File deletion

  • Code modifications

  • Folder additions

  • Rename operations

This record lets you track how your project has evolved.


What Is a Commit?

A key concept in Git is Commit (or 'commit').

A commit saves the current state of your project as a single record.

You'd create a commit after completing important tasks like:

  • Completing login functionality

  • Adding signup features

  • Fixing bugs

You can think of it like saving your progress in a game.


What Is a Repository?

A repository (or 'repo') is the storage space for your project.

In this lesson, we'll manage our dating app as one repository.

For example, inside a repository named:

dating-app

You'd find all the code for features like:

  • Login

  • Signup

  • Chat

  • Messaging

  • Admin panel

All stored together.


What Is a Branch?

When you want to test new features without breaking the main project, you use branches.

A branch is like a separate workspace for your changes.

For example:

main

represents the live service code,

login-feature

is where you'd develop login functionality.

Once development is complete, you can merge these changes back into the main branch.


Push and Pull

When using GitHub, you'll frequently hear these terms:

Push

The action of uploading your local work to GitHub.


Pull

The action of pulling the latest changes from GitHub to your local machine.

You'll use these commands almost daily as you progress with your project.


Cursor AI and GitHub Together

The key highlight of this lesson is that Cursor AI works seamlessly with GitHub.

In the future, you might ask AI to:

'Commit these changes.'

or

'Write a commit message.'

You can even connect GitHub MCP to let AI analyze your project and suggest appropriate commit messages.


Good Commit Habits

Developing good habits makes project management much easier:

  • Commit after completing one feature

  • Commit after bug fixes

  • Write clear commit messages

  • Upload to GitHub at the end of each day

Just following these habits will make managing your project much smoother.


When You'll Use Git in This Project

In this project, we'll use Git throughout the development process:

  1. Create a new project

  2. Initialize Git

  3. Make your first commit

  4. Upload to GitHub

  5. Commit after adding features

  6. Create a new branch

  7. Merge changes

  8. Automatic deployment

In short, Git is your constant companion from project start to final deployment.


Next Lesson Preview

In the next lesson, we'll create a new repository on GitHub and connect it with our Cursor project.

We'll also learn how to integrate GitHub MCP so AI can commit changes and manage your project automatically.


Wrapping Up

Git and GitHub might seem difficult at first, but once you start using them, you'll quickly realize they're indispensable tools for safe project management.

In the AI development era, where changes happen rapidly, version control has become even more important.

In this lesson, we've covered the basics of Git and GitHub.

In the next lesson, we'll create a GitHub repository and connect it with our Cursor project for hands-on practice.

FAQ

What is the main purpose of Git?

Git tracks every change to your project, allowing you to revert to previous versions if something goes wrong.

How does GitHub differ from Git?

Git manages version control on your local machine, while GitHub stores and backs up those projects online.

Korean Source

This article is an English localization of a Korean-language report from BlogScore. Original: [바이브코딩 강좌] 6강. Git과 GitHub 시작하기