Learn Git and GitHub from scratch in this beginner-friendly tutorial. This video covers the most important Git commands and workflows you need for everyday development.
Topics Covered:
First-time Git configuration
git config
git init — Create a new repository
git clone — Clone an existing repository
git add — Stage changes
git commit — Save changes
git log — View commit history
git diff — Check changes
git restore — Undo changes
git revert vs git reset
git reset --soft
git reset --hard
Git branches
git branch
git switch
git checkout
Creating and deleting branches
Merging branches
Merge conflicts and how to resolve them
Remote repositories
git remote
git push
git pull
git fetch
Git command cheat sheet
Whether you're a university student, beginner programmer, or aspiring software developer, this tutorial will help you understand the Git workflow and use Git confidently in your projects.