
Explore git and GitHub through a hands-on, beginner-friendly guide to essential version control skills. Learn the most common git commands by doing, push code to GitHub, and simulate collaboration.
Install git on Windows, macOS, or Ubuntu, then verify the installation with git version. Learn OS-specific steps and package manager commands like apt update and apt install git.
Configure git in the terminal by setting your user name and email, creating a free GitHub account, signing in, and preparing to create your first repository to start tracking changes.
Discover what git is and why it’s popular as a distributed version control system. See how git stores snapshots, uses commits, and collaborates with GitHub to manage code history.
Create your first git repository in the terminal with mkdir, cd, git init, git add, and git commit, and learn basic status and log checks on the main branch.
Explore the git directory created by git init, including refs/heads/master, objects, and hooks, and learn how commits, trees, and blobs store history and track changes.
Make changes to test.txt by appending lines, then track and review history with git diff, git status, and git log, followed by commits and git show comparisons.
Learn how to undo changes in git using restore, reset, and checkout to manage working directory, staging, and history with test.txt examples.
Learn to delete and rename files in git, using manual deletion, git rm, mv, or git mv, and track history across renames with git log --follow.
Explore git branching as a lightweight mechanism that uses a head pointer to create isolated working drafts, allowing parallel work, experiments, and safe merges into main.
Initialize a git repository, create and commit files, switch between master and new branches with git switch or git checkout, and view history using git log --graph --all.
Merge the new_fit changes from the feature branch into master using git switch and git merge, observing merge commits, fast-forward updates, and potential conflicts.
Learn how git handles merge conflicts when two branches change the same file, simulate a conflict, and resolve by selecting changes, staging, and committing.
Git shines brightest when paired with the remote platform GitHub, letting you push and pull code, review changes, open issues, and create pull requests.
Create a GitHub repository and bind your local project with a remote origin. Push changes using git init, add, commit, and main, while using a personal access token for authentication.
Learn to clone a repository from GitHub, keep it up to date with git pull and git fetch, and push changes while understanding remotes and origin during collaboration.
Explore the GitHub repository page, navigate the file browser, branch selector, commits, readme, issues, pull requests, settings, and preview workflows with actions and insights.
Simulate collaboration on GitHub with pull requests to propose, review, and merge changes from a feature branch into main, including commits, reviews, and squash or merge options.
Learn how to use a .gitignore file to exclude env files with credentials and secrets, system files, and logs from GitHub pushes, and how to add entries to it.
Review git fundamentals: initialize repos, track and stage changes, commit, branch and merge, and collaborate with GitHub through cloning, pull requests, and merges.
Welcome to Hands-On Introduction to Git with GitHub. I'm Lucas, a tech lead working in an international team with a passion for helping beginners kickstart their tech journey in a simple and practical way.
In this course, we’ll demystify version control using Git and GitHub — two essential tools in every developer’s workflow. We’ll start from the absolute basics: what Git is, why it matters, and how to set up your local Git environment.
Then, we’ll move into hands-on practice with the most important Git concepts:
How to track and commit changes
How to view and navigate project history
How to create, switch, and merge branches
How to resolve merge conflicts step by step
How to undo changes and restore previous versions
How to push your code to GitHub and collaborate with others
How to create and review pull requests
You'll also learn how to use .gitignore to keep your projects clean, and how GitHub fits into modern teamwork and open source collaboration.
By the end of this course, you'll not only understand how to use Git and GitHub - you'll feel confident to start using them in real-world projects.
So whether you're a new developer, switching careers, or just curious about version control - you're in the right place.
Let’s make Git simple, collaborative, and fun!