
यह कोर्स आपको 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 करने पर फोकस है। 🚀
Git local system पर code manage करता है, लेकिन GitHub उसे दुनिया से जोड़ता है। इस chapter में हम repository बनाना, code push / pull करना और SSH setup सीखेंगे — exactly वही जो real projects (जैसे UdaanPath) में use होता है।
GitHub repository आपके project का online home होता है।
udaanpath-git-course)अभी यह repository empty होगी।
अब हम local project (UdaanPath course files) को GitHub से connect करेंगे।
git remote add origin https://github.com/your-username/udaanpath-git-course.git
Remote verify करने के लिए:
git remote -v
git push आपके local commits को GitHub पर भेज देता है।
git push -u origin main
UdaanPath Example:
आपने Git course के 3 chapters complete किए —
अब आप उन्हें GitHub पर push करते हैं ताकि team access कर सके।
जब कोई team member GitHub पर changes push करता है,
तो git pull से आप latest code अपने system में ला सकते हैं।
git pull origin main
UdaanPath Example:
आपकी team ने नया course banner add किया —
आप pull करके instantly update पा लेते हैं।
Existing GitHub repository को अपने system पर लाने के लिए:
git clone https://github.com/your-username/udaanpath-git-course.git
बार-बार username/password डालने से बचने के लिए SSH use किया जाता है। SSH एक secure key-based authentication system है।
ssh-keygen -t ed25519 -C "youremail@example.com"
cat ~/.ssh/id_ed25519.pub
ssh -T git@github.com
Success message दिखेगा:
You've successfully authenticated
git pull git add . git commit -m "Update GitHub essentials chapter" git push
git pullअगले chapter में हम सीखेंगे GitHub collaboration — Fork, Pull Request और Code Review process।