
यह कोर्स आपको modern development की सबसे ज़रूरी skill सिखाता है—version control। इसमें आप Git के core commands, real-world GitHub workflow (branches, pull requests, reviews) और open-source contribution की basic understanding पाएँगे। 1–2 हफ्तों में fast, practical और industry-ready skill build करने पर फोकस है। 🚀
Open Source contribution developer journey का बड़ा milestone होता है। इस chapter में आप सीखेंगे कि किसी public project में safely contribute कैसे करें — बिना original project को नुकसान पहुँचाए।
Open Source projects वो होते हैं जिनका source code publicly available होता है। कोई भी developer code पढ़ सकता है, improve कर सकता है और contribute कर सकता है।
Beginners अक्सर fork और clone में confuse हो जाते हैं — चलिए इसे simple diagram से समझते हैं।
Original Repo (Owner)
|
|--- Fork (Your GitHub Account)
|
|--- Clone (Your Local System)
Contribution शुरू करने का पहला step है project को fork करना।
अब यह repo पूरी तरह आपके control में है।
Fork की हुई repository को local system पर लाने के लिए:
git clone https://github.com/your-username/project-name.git
Original repository को upstream कहा जाता है। इससे आपका fork updated रहता है।
git remote add upstream https://github.com/original-owner/project-name.git git remote -v
Open source projects में direct main branch पर काम नहीं किया जाता।
git switch -c fix-readme-typo
अब आप safely changes कर सकते हैं।
git add . git commit -m "Fix typo in README documentation"
Original project में नए changes आते रहते हैं। अपना fork outdated न होने देने के लिए:
git switch main git fetch upstream git merge upstream/main
git push origin fix-readme-typo
Pull Request original project owner को request होती है: “मेरे changes please include करें”
Maintainers review करेंगे और: approve, request changes या reject कर सकते हैं।
Rejection failure नहीं होता। Maintainers quality और project direction maintain करते हैं।
अगले chapter में हम सीखेंगे Git mistakes से कैसे recover करें — undo, reset और restore commands।