Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Beginner Git commands you need to know (WITH EXAMPLES)

280.3K views on YouTube

Take your Git skills to the next level with this beginner-friendly guide to the most essential Git commands. From configuring your Git environment to creating repositories and managing branches, this video will walk you through the daily commands you’ll use. Learn how to efficiently stage, commit, and push your changes, and discover the power of commands like git status and git switch. By the end of this tutorial, you’ll be using Git like a pro!

#Git #Coding #GitHub

— CHAPTERS —
00:00 Intro
00:21 Configuring Git with ‘git config’
01:49 Initializing a Git Repository with ‘git init’
02:14 Checking Repository Status with ‘git status’
02:43 Creating and Staging Files with ‘git add’
03:55 Committing Changes with ‘git commit’
05:43 Cloning a Repository with ‘git clone’
06:55 Working with Branches using ‘git branch’
07:44 Switching Between Branches with ‘git switch’
08:51 Pushing Changes to a Remote Repository with ‘git push’
10:41 Updating Local Repository with ‘git pull’
12:13 Viewing Change History with ‘git show’
13:54 Deleting Branches Locally and Remotely

Resources & links:
https://gh.io/AArr0ib
https://gh.io/AArm31o
https://gh.io/AArr885
https://gh.io/AArr0id

Stay up-to-date on all things GitHub by connecting with us:
Blog: https://github.blog
X: https://twitter.com/github
LinkedIn: https://linkedin.com/company/github
Insider newsletter: https://resources.github.com/newsletter/
Instagram: https://www.instagram.com/github
TikTok: https://www.tiktok.com/@github

💭 To keep conversing about Git and getting started on GitHub, head to the GitHub Community: https://gh.io/learn-git

About GitHub
It’s where over 100 million developers create, share, and ship the best code possible. It’s a place for anyone, from anywhere, to build anything—it’s where the world builds software. https://github.com