What is Version Control?

Version control keeps one project with a history of changes. এখানে দেখা হবে Version Control System কী, এর ধরন, কেন দরকার, এবং Git কী। Git = Tool, GitHub = Service Git is local, GitHub hosts Git repos।

GitHub Account Create & Setup

এই ভিডিওতে আমরা GitHub account তৈরি করা, profile update করা এবং একটি simple repository তৈরি করা দেখেছি।

Git Install & Global Config

এই ভিডিওটি Git সিরিজের Part 3। এখানে আমরা Windows ও Linux এ Git install করা এবং GitHub account ব্যবহার করে global config সেট করা দেখেছি। First download and install git from here. Configuration steps Check Git version: git --version Set username: git config --global user.name "Your Name" Set email: ...

Basic & Essential Commands

এই ভিডিওতে আমরা Git workflow এর essential commands ধাপে ধাপে দেখেছি। মূল commands: git init – initialize a Git repository (run only the first time) git add – stage files for the next commit git commit -m "msg" – save staged changes with a message git log – view commit history git log --oneline� – single line(short) log git diff – see changes since the last commit git status – view local changes

Restore & Reset

git restore Use when file is modified but not committed, Restores last committed version, Affects working directory only git restore file.txt #sepcific file git restore . # all git reset git reset use to undo commits. Can affect staging area and working directory depending on mode. ...

Using .gitignore

এই ভিডিওতে আমরা দেখেছি কিভাবে .gitignore ফাইল ব্যবহার করে নির্দিষ্ট ফাইল ও ফোল্ডার ignore করা যায়। PATTERNS & RULES * wildcard (any chars) ** recursive directories ? single character /path root-only match !file negate (force include) Order matters: last rule wins Ignoring files AFTER they’re already tracked git rm --cached <file> # or use folder BEST PRACTICES Add .gitignore at repo start Be explicit, not lazy (* is dangerous) Keep project-specific rules in repo Review before every first commit GITIGNORE GENERATORS https://www.toptal.com/developers/gitignore https://gitignore.io https://github.com/github/gitignore

Git Branching Basics

এই ভিডিওতে আমরা Git Branching কীভাবে ব্যবহার করা হয় তা step by step দেখেছি। Git Branching Commands List branches git branch Create a branch git branch <name> git switch -c <name> # create and switch git switch -c <name> <commit> # create from specific commit Switch branches git switch <branch-name> Delete branches git branch -d <name> # safe delete (merged only) git branch -D <name> # force delete Legacy (use with caution) git checkout <branch-name> # switch or restore files git checkout -b <name> # create and switch

Git Branch Merge

Fast-Forward & 3-Way Merge git merge yourBranch Fast-Forward merge When the master branch has no new commits, Git simply moves the master pointer forward to the latest feature commit without creating a new merge commit. A - B C D 3-way merge When both branches have evolved independently, Git combines their histories by generating a brand new “merge commit.” ...

Git Merge & Rebase with visual

Git Rebase git rebase yourBranch Git Merge & Rebase Visual You can play on Git School

Clone, PR, Conflicts & Settings

GitHub Clone & Push Changes git clone <repository-url> git push origin <branch-name> Git Pull Request (PR) & Code Review Resolve PR Merge Conflicts Change Default Branch & Repo Settings এই ভিডিওতে GitHub repository-এর default branch পরিবর্তন, visibility (public/private) change এবং repo delete করার option দেখানো হয়েছে। ...