
यह कोर्स आपको 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 करने पर फोकस है। 🚀
इस chapter में हम Git को अपने system पर install करना, basic configuration करना और अपना पहला Git repository बनाना सीखेंगे। यहीं से आपकी real Git journey शुरू होती है।
Git एक distributed version control system है जो आपके project के हर change को track करता है। Git fast, reliable और industry standard tool है।
Git को install करना आसान है। अपने operating system के अनुसार steps follow करें:
# Linux (Ubuntu / Debian) sudo apt install git # macOS (Homebrew) brew install git
Git install होने के बाद, version check करके verify करें:
git --version
Git को बताना ज़रूरी होता है कि आप कौन हैं, ताकि हर commit के साथ आपका नाम जुड़ा रहे।
git config --global user.name "Your Name" git config --global user.email "youremail@example.com"
Configuration check करने के लिए:
git config --list
अब हम किसी folder को Git repository में convert करेंगे।
mkdir my-project cd my-project git init
git init command उस folder में Git tracking enable कर देती है।
एक file बनाकर Git status check करते हैं:
touch readme.txt git status
git init से नया repository बनता हैgit init करेंgit status command चलाकर output देखें
अगले chapter में हम Git के सबसे important commands —
git add, git commit और git log को detail में सीखेंगे।