inflearn logo

Git & GitHub, Step by Step from the Basics - Fundamental Git

Learn the principles, not just memorize commands. Build the skills to understand git commands suggested by AI and untangle messy histories yourself.

(5.0) 129 reviews

904 learners

Level Beginner

Course period Unlimited

Git
Git
GitHub
GitHub
Git
Git
GitHub
GitHub

Reviews from Early Learners

5.0

5.0

juhylee

98% enrolled

It's crazy. It's awesome. It couldn't be clearer.

5.0

shinyeoneui

35% enrolled

I purchased and took several lectures on Git from Inflearn, but as the lectures progressed, I couldn't understand them, so I purchased this lecture again. I'm embarrassed to say that until now, I've been mechanically typing git add and git commit without knowing why those processes are necessary. However, through this lecture, I was able to understand the principles of Git. It was very helpful. Thank you.

5.0

Seunggu Kang

100% enrolled

This is a really essential class before you start working. It covers everything that will be helpful in the workplace. I signed up for the class because of the intuitive illustrations, but the most helpful thing was the core and basic content that is often not covered well, but is essential to understanding the subject.

What you will gain after the course

  • Learn the basic Git commands and understand how Git works through diagrams.

  • Understand why conflicts arise and resolve them calmly.

  • Understand how reset, revert, and rebase change history, and learn to undo a tangled situation yourself.

  • Learn how to collaborate effectively with your teammates using GitHub.

  • Learn not only how to collaborate using Git flow, but also why it’s necessary.

Step by step, starting with the basics


AI can type the commands, but I still need to understand them myself.

Git vs. GitHub❓

💻 Git

Git is a program that manages code versions. Just like creating a SAVE point in a game, Git lets you create SAVE points for your code and roll back to any point you want. It also offers a powerful feature called “branches,” which helps multiple teammates work on the same project at the same time.

🌐 GitHub

First, it’s important to understand that Git and GitHub are completely different concepts. Just as baseball and soccer are different, Git and GitHub are different from each other. Git is a tool for version control, while GitHub is a place to store those versions. That’s why GitHub is often compared to Google Drive or Dropbox.

In an age when AI runs Git commands for us, why do we still need to understand how it works?

These days, AI handles commits, branch creation, and conflict resolution for us. When an error comes up, we ask AI instead of checking a blog. But is it safe to run reset --hard, push --force, and rebase exactly as AI suggests?


If you don’t know what that command does to your history, you leave the judgment to AI and are left to deal with the consequences. Fundamental Git isn’t a course about memorizing commands—it’s a course that shows you visually what’s happening inside Git. When you understand the principles, you can evaluate AI’s answers and undo things yourself when they go wrong.

Course Outline

📌 Section 1: Understanding the Basics of Git and GitHub
Learn the fundamental concepts of Git and GitHub, and discover how Git manages versions.

💻 Section 2: Installing and Configuring Git
Learn how to install Git and configure your basic environment to get ready to use Git.

📝 Section 3: Basic Commands and Status Management
Learn the key commands for creating versions and take an in-depth look at what happens inside Git.

📂 Section 4: Repository States
Git manages versions across three repositories. Learn the commands for checking the state of each repository and how they work.

🎯 Section 5: HEAD
Learn what HEAD is and how it lets you revert your code to a desired point in time, then explore its relative position and how to work with it.

🌿 Section 6: Branches
Learn how to collaborate with teammates using branches, understand their internal structure, and work with them skillfully.

🔗 Section 7: Merge
Learn how to merge work from another branch into your own, and how to resolve conflicts that may arise during the merge process.

⚠ Section 8: Things to watch out for when working with branches
Branches are powerful, but they can be tricky. Learn how to avoid mistakes and use them effectively.

🔄 Section 9: Rebase
Learn the essential rebase feature for advanced developers, and find out how to organize branches and resolve conflicts.

⏪ Section 10: Reverting to a Previous State (Reset vs. Revert)
Learn the differences between the reset and revert commands, which let you restore your code to a point in time of your choosing, and how to use them. You’ll also explore how each command works in detail so you can choose the right one for the situation.

📤 Section 11: Pushing and Pulling Code (GitHub)
Learn how to upload and download code from a remote server and how the process works, gaining a deep understanding of how GitHub and Git interact.

🤝 Section 12: Collaborating (Git Flow)
Learn how to collaborate effectively with colleagues using the Git Flow strategy, a key part of teamwork. This section focuses on the core elements of collaboration.

🚀 Section 13: Advanced Remotes
Learn in depth about remote-related features and principles for advanced developers, and master the advanced remote management techniques you need in practice.

📂 Section 14: File Management
Learn how version control works when deleting or renaming files. You’ll also learn how to use a gitignore file to exclude specific files from version control, along with the principles behind it, so you can confidently handle various error situations.

📝 Section 15: Changing Commit History
Learn how to change commit history to make a project’s version history easier to review. Go beyond simple methods and explore the underlying principles in depth through easy-to-understand analogies.

Who This Course Is For

I already know Git.

Git (Git) you’ve taken a course at least once, but

I’m still confused.

New to Git.

Learn from the underlying principles from the start,

Even commands suggested by AI

I want to understand what I’m doing as I use it.

❓ With so many Git courses out there, why was Root Git created?

While working as a programming instructor, I realized something. Many students memorized Git commands without truly understanding how they work. As a result, they often found themselves unable to use Git efficiently or resolve even simple errors. It was frustrating to watch students spend over an hour wandering through blogs to solve problems they could have fixed with just 10 minutes of proper study.


At that moment, I made up my mind.

"I need to properly teach students how Git works!"


After six months of research, I developed a diagram that makes it easy to understand how Git works in just 10 minutes and turned it into course materials.


"Will this illustration really be easy to understand?"
"Will it explain every case sufficiently?"
"Will it help students solve the errors they encounter?"


As I answered these questions for myself, I revised the diagram over and over. After drawing countless diagrams and working until my iPad note-taking app started to lag, I was finally able to complete a clear and easy-to-understand final diagram.


After that, when I taught Git using the illustration, the students’ reactions were truly surprising.


💬 "I've taken Git courses several times, but I've learned the most in this one hour!"
💬 "This is the easiest-to-understand explanation of Git I've heard so far. Really."
💬 "Oh, now I get it!"


I felt a real sense of fulfillment seeing students become proficient with Git in just one hour.


Have you taken a Git course but still feel confused?
Do you find it frustrating when you have trouble fixing errors?
Are you copying and pasting commands from AI without understanding them?


Then you’ve come to the right place. 👏


After taking this course, Git will no longer feel like a spell you have to memorize.

What Makes Fundamental Git Different

🚀 We teach principles, not commands

  • We explain most situations in Git using a single diagram and a single principle. Once you understand the principles, you can interpret even error messages you’ve never seen before on your own.



📚 From the basics to collaboration in one course

  • Learn everything from basic commands, branches, rebase, and reset/revert to GitHub collaboration (Git Flow) in one cohesive flow.

🖼 Easy-to-follow exercises

  • We show the results of running commands visually, making it much easier to follow along!



👁 Easy and intuitive learning

  • In Fundamental Git, 90% of the course materials are illustrations, so you can visualize Git’s structure in your mind.


📖 Includes 1,700 pages of course materials

  • We provide a 1,700-page illustrated PDF that explains how Git works step by step. It’s organized by session so you can quickly find what you’re looking for.


💬 Q&A

  • If you have any questions during the course, please post them in the course Q&A.

After completing the course,

✅ explain why we use add and commit
✅When faced with conflict, rebase, or reset, you can read the situation without panicking.
✅You can review AI-suggested Git commands yourself before running them.

Things to Note Before Enrolling

  • The course materials are provided in PDF format.

  • The class is taught using a Mac, but Windows users can follow along without any difficulty.

  • The course is taught using the CLI (Command Line Interface).

  • No prior knowledge is required.

  • This course doesn’t cover how to use AI coding tools themselves. No matter which tool you use, what ultimately runs are Git commands, and this course covers the principles behind them.

Recommended for
these people

Who is this course right for?

  • For those who have tried learning Git but still find it confusing.

  • A beginner who wants to learn the fundamentals properly from the start and understand the git commands AI types for them.

Need to know before starting?

  • No prior knowledge is needed :)

Hello
This is geek

904

Learners

129

Reviews

54

Answers

5.0

Rating

1

Course

I first entered the world of development while starting a business with a friend during my college years.

Back then, I faced many difficulties because I was studying programming on my own.
I didn't know where to start,
nor did I know how deeply I needed to study.
Still, as if hitting my head against the ground(?), I immersed myself solely in development for four years.

Looking back,
it was a meaningful time, but I also have many regrets.
I regret that if someone had properly taught me how to study,
I could have used my time much more efficiently.

In my personal opinion,
I believe it's important to study various fields shallowly when you first start development.
It's about experiencing it once.

After that, you must study deeply.
In other words, you need to properly understand the principles.
This is because if you don't know the principles, it's hard to respond to various cases.

However, principles are difficult.
Thinking about studying principles feels burdensome from the start.

But with me, you don't have to worry about that.
I prepared this lecture with the mindset of teaching my past self.
I expressed all principles easily through illustrations,
and I created the class so that you can learn properly in a short amount of time.

As your time is precious, I put sincere effort into every single lecture.
Are the illustrations in the lecture materials easy to understand?
Do the illustrations explaining the principles represent all cases?
Is this content absolutely necessary for growing into a better developer?
Contemplating these questions, I created this lecture as if squeezing out the very essence.

I am rooting for your growth,
and I hope my small contribution can be of help to you.

Thank you.

More

Curriculum

All

48 lectures ∙ (8hr 9min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

129 reviews

5.0

129 reviews

  • dev8653님의 프로필 이미지
    dev8653

    Reviews 2

    ∙

    Average Rating 4.0

    5

    79% enrolled

    The best lecture I've ever heard

    • geubon
      Instructor

      Hello, dev :) Wow.. high praise.. thank you! I will always try to make good lectures. Have a happy new year 🥰

  • juhylee님의 프로필 이미지
    juhylee

    Reviews 2

    ∙

    Average Rating 5.0

    5

    98% enrolled

    It's crazy. It's awesome. It couldn't be clearer.

    • geubon
      Instructor

      Hello, juhylee :) Thank you so much for your review. Thanks to your words, juhylee, I feel like all the hard work I put into making the lecture has been rewarded. Thank you so much. I will always try to make good lectures!

  • shinyeoneui3715님의 프로필 이미지
    shinyeoneui3715

    Reviews 2

    ∙

    Average Rating 5.0

    5

    35% enrolled

    I purchased and took several lectures on Git from Inflearn, but as the lectures progressed, I couldn't understand them, so I purchased this lecture again. I'm embarrassed to say that until now, I've been mechanically typing git add and git commit without knowing why those processes are necessary. However, through this lecture, I was able to understand the principles of Git. It was very helpful. Thank you.

    • geubon
      Instructor

      Hello, shinyeoneui! I'm so happy that my lecture was helpful 😊😊 Thank you so much for your kind words. If you have any questions about Git in the future, please feel free to contact me! 🥰

  • dengo님의 프로필 이미지
    dengo

    Reviews 13

    ∙

    Average Rating 4.5

    5

    85% enrolled

    This is the first lecture I've ever thought of leaving a review for. I ended up using Git in my work, and it was difficult to study alone, so I chose this lecture. It's a really, really satisfying lecture, with pictures explaining the internal structure. If the instructor's other lectures come out, I think I'll choose them without hesitation and take them. Thank you for creating such a great lecture.

    • geubon
      Instructor

      Hello, 별다방님 :) Thank you so much for your kind words. 🥺 I'm so happy to be able to help you in your work, and more than anything, it's a great reward. I'm a very small part of 별다방님's developer journey, but I'll do my best to be of help. (It's just a lecture...) Because of my persistence in creating a work of art.. It took me quite a long time to create this short, 8-hour lecture. In the future, even if it takes a little more time, I'll make it properly with this mindset. Lastly, Thank you so much for taking the fundamental Git class, and I sincerely congratulate you on completing it. 🎉

  • ksg님의 프로필 이미지
    ksg

    Reviews 4

    ∙

    Average Rating 5.0

    5

    100% enrolled

    This is a really essential class before you start working. It covers everything that will be helpful in the workplace. I signed up for the class because of the intuitive illustrations, but the most helpful thing was the core and basic content that is often not covered well, but is essential to understanding the subject.

    • geubon
      Instructor

      Wow.. a must-take class before getting a job..! Thank you for the great advice!! (Actually.. I think so too 😊😊) Always rooting for you, Seunggu Kang! Fighting!

Similar courses

Explore other courses in the same field!

25% off for new members

$32.90

25%

$42.90