Git Explained in 25 Mins | Git and GitHub Tutorial
From TechWorld with Nana · · 26 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
► Download the free Git handout here: https://bit.ly/4sPNtBo Git and GitHub explained for beginners and for engineers who use Git every day without fully understanding it. Learn what a commit really is, how branches work, what HEAD means, and when to use git reset, revert and rebase. Simple visuals, no memorizing.
If Git feels like a black box, this video opens it. Maybe you’ve copied git commit from a tutorial a few times. Maybe you push and pull every day at work, but when something breaks you end up asking AI how to fix it. In both cases the fix is the same: understand what Git is doing underneath, and the commands start to make sense.
What you’ll learn: ▸ What a Git commit is: snapshot, metadata, parent pointer and hash ▸ Why Git rarely loses your work ▸ The staging area (git add) and how to choose what goes into each commit ▸ What a Git branch is under the hood, and why creating one is basically free ▸ HEAD and git checkout, and what “detached HEAD” actually means ▸ Git vs GitHub: the difference between the tool and the remote repository ▸ git clone, git push and git pull for working in a team ▸ git merge: fast-forward vs merge commit ▸ git pull = git fetch + git merge ▸ git merge vs git rebase ▸ Pull requests and how teams review code on GitHub ▸ git reset (--soft, --mixed, --hard) vs git revert, and which is safe after you push ▸ How to recover work you thought was gone
Quick answers from the video: ▸ Git vs GitHub: Git is the version control tool on your computer. GitHub is a website that hosts a shared copy of your repository (the “remote”) so your team can collaborate. ▸ What is a Git branch? A small file that holds one commit hash. A movable pointer, not a copy of your files. ▸ git reset vs git revert: reset moves your branch back and rewrites history, so use it only on local commits. revert adds a new commit that undoes an old one, so it’s safe on commits you’ve already pushed.
▬▬▬▬▬▬ 𝗧𝗜𝗠𝗘𝗦𝗧𝗔𝗠𝗣𝗦 ▬▬▬▬▬▬ 0:00 Overview 2:18 "Commit" — and what's actually inside one 5:22 Staging area 7:01 Branches 12:05 Working as a team: GitHub 16:09 What "combining" really means: merging 19:39 Pull request 21:43 Undoing mistakes: checkout vs reset vs revert 24:29 Recap
▬▬▬▬▬▬ 𝗖𝗼𝗻𝗻𝗲𝗰𝘁 𝘄𝗶𝘁𝗵 𝗺𝗲 👋 ▬▬▬▬▬▬ INSTAGRAM ► https://bit.ly/2F3LXYJ TWITTER ► https://bit.ly/3i54PUB LINKEDIN ► https://bit.ly/3hWOLVT
What is Git | Git explained | Git vs Github | How Git works | Git explained for beginners | Git tutorial | Git tutorial for beginners | Git and GitHub explained