Learning Git & GitHub for DevOps and Version Control

Stepping into the world of Git & GitHub! I’ve been learning how developers collaborate, manage versions, and track code using Git and GitHub — and it’s been super exciting! Here are some key commands : 🛠️ Setup & Configuration git config --global user.name "jayasrk" git config --global user.email "jaya79@gmail.com" git init git clone <repository-url> git remote add origin <url> 📂 Tracking & Staging Files git status git add filename git add . # adds all files 💬 Commit & Push Changes git commit -m "commit message" git push origin main git pull git push origin main --force 🌿 Branch Management git branch git branch -M main git checkout branchname Each command taught me how developers organize their projects, collaborate in teams, and contribute to open-source efficiently 🌍 #Git #GitHub #CodingJourney #VersionControl #BeginnerToPro #DevOps #Cloud

To view or add a comment, sign in

Explore content categories