🚀 DevOps Journey – Day 18 / 100 Today I learned real-time Git workflow with multiple developers + GitHub repo management 🔥 ⸻ 🔹 🧑💻 Real-Time Scenario 👨💻 Dev1 → Already developed code & pushed to GitHub 👨💻 Dev2 → New joiner (no code in local system) 👉 What should Dev2 do? ✔️ Clone the Repository • git clone <repo_url> → Entire code + history comes to local ⸻ 🔹 🔄 Clone vs Pull ✅ Clone • First time download • Full repo + all branches ✅ Pull • Get latest changes • Used after clone 💡 Pull = Fetch + Merge ⸻ 🔹 🌿 Branch & Sync • git branch -a → Show local + remote branches 👉 Workflow: 1. Make changes locally 2. git push → Send to GitHub 3. Other dev makes changes 4. git pull → Get updates ⸻ 🔹 🔍 Fetch vs Merge • git fetch origin branch → Check new commits (no merge) • git merge origin/branch → Merge changes into local ⸻ 🔹 ⚙️ GitHub Repository Settings 📌 You can manage repo using UI: • Rename repository • Change default branch • Change visibility (Public → Private) • Transfer ownership • Archive (read-only mode) • Delete repository (Danger Zone ⚠️) ⸻ 🔹 🆚 Git vs GitHub • Git → CLI tool (local system) • GitHub → Web UI (remote repo hosting) ⸻ 💡 Pro Tip: Every developer should know this flow: 👉 Clone → Work → Push → Pull → Repeat This is how real companies work 🚀 #DevOps #Git #GitHub #Linux #VersionControl #100DaysOfDevOps #LearningJourney #Cloud #Automation #RealTime #frontlinemedia #flm #DevSecOps #MultiCloud
Git Workflow with GitHub for DevOps
More Relevant Posts
-
🚀 Git vs GitHub – Clearing the Confusion! Many developers use Git and GitHub interchangeably — but they are NOT the same. Let’s break it down 👇 🔹 What is Git? Git is a distributed version control system. It works locally on your machine and gives you full control over your code. ✅ Track changes ✅ Create branches & merge easily ✅ Work offline ✅ Manage versions without any dependency 💡 In short: Git is your all-in-one tool for code management. --- 🔹 What is GitHub? GitHub is a cloud-based platform built on top of Git. It helps you: ✅ Store code remotely ✅ Collaborate with teams ✅ Manage projects & issues But here’s the catch 👇 ⚙️ For full automation (CI/CD), GitHub often needs integration with: • GitHub Actions / Jenkins • Docker • Kubernetes • Other DevOps tools 💡 So, GitHub = Collaboration + Integration ecosystem --- 🔥 Key Difference Git| GitHub Version Control System| Hosting Platform Works Offline| Requires Internet No dependency| Needs integrations for CI/CD Complete control locally| Team collaboration focus --- 🎯 Final Thought 👉 Git = Engine (Core functionality) 👉 GitHub = Platform (Collaboration + Integrations) Both are powerful — but understanding the difference makes you a smarter developer 💻 #Git #GitHub #DevOps #SoftwareDevelopment #Programming #CI_CD #Developers #TechLearning
To view or add a comment, sign in
-
-
🚀 Git vs GitHub – Clearing the Confusion! Many developers use Git and GitHub interchangeably — but they are NOT the same. Let’s break it down 👇 🔹 What is Git? Git is a distributed version control system. It works locally on your machine and gives you full control over your code. ✅ Track changes ✅ Create branches & merge easily ✅ Work offline ✅ Manage versions without any dependency 💡 In short: Git is your all-in-one tool for code management. --- 🔹 What is GitHub? GitHub is a cloud-based platform built on top of Git. It helps you: ✅ Store code remotely ✅ Collaborate with teams ✅ Manage projects & issues But here’s the catch 👇 ⚙️ For full automation (CI/CD), GitHub often needs integration with: • GitHub Actions / Jenkins • Docker • Kubernetes • Other DevOps tools 💡 So, GitHub = Collaboration + Integration ecosystem --- 🔥 Key Difference Git| GitHub Version Control System| Hosting Platform Works Offline| Requires Internet No dependency| Needs integrations for CI/CD Complete control locally| Team collaboration focus --- 🎯 Final Thought 👉 Git = Engine (Core functionality) 👉 GitHub = Platform (Collaboration + Integrations) Both are powerful — but understanding the difference makes you a smarter developer 💻 #Git #GitHub #DevOps #SoftwareDevelopment #Programming #CI_CD #Developers #TechLearning
To view or add a comment, sign in
-
-
📝 Day 5 of Sharing my DevOps Series... *Git Basics What is Git? Git is a distributed version control system used to: Track code changes Collaborate with teams Manage project history *Why Git is Used? Track code changes Maintain version history Work with multiple developers Rollback to previous versions Work in parallel using branches *Git Architecture Working Directory Where you create/edit/delete files Staging Area Middle layer between working directory & Local repository Stores changes before commit Git Repository Stores all versions, history & metadata Initialize repository git init Check status git status Add file to staging git add file.txt Commit changes git commit -m "First commit" *File States in Git Untracked → New file (not added) Modified → Changed but not staged Staged → Ready to commit *Commands ls # List files ls -a # Show hidden files mkdir folder # Create directory cd folder # Change directory *Git Commit Options git commit -m "message" # Normal commit git commit -am "message" # Add + commit (tracked files only) *What is a Branch? A branch in Git is used to work on features independently without affecting the main code. *List Branches git branch - Shows all available branches Create a New Branch - git branch dev Creates a new branch named dev *Switch Branch git checkout dev git switch dev Move from one branch to another Create + Switch (Shortcut) git checkout -b feature Delete Branch git branch -d dev Deletes branch (safe delete) git branch -D dev Rename Branch git branch -m old-name new-name Rename a branch View All Branches (Local + Remote) git branch -a *Git Logs git log # Full history git log --oneline # Short history *Remote Repository (GitHub) git remote add origin <repo_url> git push origin master- Push local commits to remote repository *main information about git: git init → Initialize repo git add → Stage changes git commit → Save changes git status → Check status git branch → Manage branches git merge → Combine branches git push → Upload to remote git clone → Copy repo #DevOps #CareerGrowth #Cloud #AWS #Infrastructure #CloudComputing #AWS #TechLearning #DevOps #LearningInPublic #TechJourney #git #github
To view or add a comment, sign in
-
-
🚀 DevOps Journey – Day 19 / 100 Today I learned Git Tags, Fork, Merge Conflicts & Bitbucket 🔥 ⸻ 🔹 🏷️ Git Tags (Versioning) 👉 Tags are like milestones / backups in Git 📌 Example: Version1 → 3 commits Version2 → 2 more commits Version3 → 2 more commits 👉 We can mark versions like: • app-v1 • app-v2 • app-v3 ⸻ 🔹 🧪 Hands-on Example mkdir project cd project git init touch file1 file2 file3 git add file1 git commit -m "file1 commit" git add file2 git commit -m "file2 commit" git add file3 git commit -m "file3 commit" 👉 Apply tags: git tag app-v1 git tag git log 👉 Push tag to GitHub: git push origin app-v1 git push origin --tags 🔹 🍴 Git Fork 👉 Fork = Copy of someone else’s repo into your GitHub 📌 Steps: 1. Click Fork in GitHub 2. Repo copied to your account 3. Clone → Make changes → Push 💡 Used in open source contributions ⸻ 🔹 ⚠️ Merge Conflicts (Real-Time) 👉 When 2 people change same file/line → Conflict 🎬 Example: Tillu & Shanon both ask Radhika for movie at 1:30 PM 😅 👉 Same time → Conflict 💡 Solution: • Manually edit file • Remove conflict markers • Commit resolved code ⸻ 🔹 🔁 Git Alternatives • Bitbucket • Azure Repos • AWS CodeCommit ⸻ 🔹 🔵 Bitbucket Basics 👉 Same as GitHub (Repo hosting) 📌 Workflow: • Create repo • Clone repo • Create branch • Commit changes • Push & Pull ⸻ 🔹 🔐 Bitbucket Token (App Password) 📌 Steps: • Go to Settings → Access Management • Create App Password / API Token • Set permissions (read/write) • Use instead of password ⸻ 💡 Pro Tip: Use tags for releases, forks for contributions, and always resolve conflicts carefully! You’re now thinking like a real DevOps Engineer 🚀 #DevOps #Git #GitHub #Bitbucket #VersionControl #100DaysOfDevOps #LearningJourney #Cloud #Automation #RealTime #flm #frontlinemedia #reach #edutech Frontlines EduTech (FLM)
To view or add a comment, sign in
-
-
*Day 2 Highlights: Git & GitHub – Version Control and Collaboration* Had an insightful session focused on the fundamentals of Git and GitHub, essential tools for modern software development and DevOps practices. 🔹 *Git Fork vs Clone* * *Fork*: Create a copy of a repository within GitHub (cloud → cloud) * *Clone*: Download repository from GitHub to local system (cloud → local) * Forking is ideal when you want to experiment or contribute to someone else’s project 🔹 *Branching Strategy* * main/master → Production-ready code * Feature branches → Isolated development (e.g., feature-alarm-jira123) * 🚫 Avoid direct changes to the main branch 🔹 *Pull Request (PR) Workflow* 1. Create a feature branch 2. Develop and commit changes 3. Raise a Pull Request 4. Code review & discussion 5. Approval and merge into main branch 👉 This workflow ensures code quality, collaboration, and controlled deployments 🔹 *Essential Git Commands* * git init – Initialize repository * git status – Check file status * git add – Stage changes * git commit -m – Commit with message * git push – Upload code * git pull – Fetch latest updates * git clone – Copy repository locally * git config – Set username & email 🔹 *Key GitHub Features* * *Issues* → Track bugs & tasks * *Projects* → Manage workflows * *Wiki* → Documentation * *Insights* → Contribution analytics * *Settings* → Permissions & controls 🔹 *Best Practices* ✔ Always work on feature branches ✔ Use Pull Requests for collaboration ✔ Write meaningful commit messages ✔ Configure Git properly before starting ✔ Leverage GitHub UI for most operations 🔹 *Advanced Concepts (Overview)* * Git Rebase → Cleaner commit history * Git Stash → Temporary work storage * Merge Conflicts → Handling code overlaps 💡 Strong version control practices are the backbone of efficient team collaboration and scalable software delivery. #DevOps #Git #GitHub #VersionControl #LearningJourney #SoftwareDevelopment #vikasratnawat #cloudDevopsHub
To view or add a comment, sign in
-
-
Git isn't just a version control tool — it's the starting point of your entire delivery pipeline. Every CI/CD pipeline, every deployment, every infrastructure change begins with a Git event. A push, a merge, a pull request. Here are the Git commands that actually matter in DevOps: The daily basics: → git clone — copy a repo to your local machine → git pull — get the latest changes from remote → git add . — stage all changes → git commit -m " " — save your changes with a message → git push — send your changes to remote Branching: → git branch — list all local branches → git checkout -b name — create and switch to a new branch → git merge branch-name — merge changes from one branch into another Debugging and recovery: → git log --oneline — see commit history in a clean format → git diff — see exactly what changed between states. → git revert <commit> — undo a commit safely without rewriting history → git stash — temporarily save changes you're not ready to commit Status: → git status — Run git status constantly. It tells you exactly where you are, what's staged, what's not, and what branch you're on. It saves so much confusion. Understanding Git properly means understanding how the entire delivery process begins. What Git command do you wish you had learned earlier? 👇 #DevOps #Git #VersionControl #CICD #LearningDevOps #BeginnerDevOps #TechCareers #LearningInPublic
To view or add a comment, sign in
-
-
🚀 Day 6 of #100DaysOfDevOps Challenge Today I explored one of the most fundamental pillars of modern software development — Version Control Systems (VCS) and Git 🔥 📌 Here’s what I learned today: 🔹 What is Version Control System (VCS)? A system that tracks changes in code over time, enabling collaboration, history tracking, and easy rollback when needed. 🔹 Why is it important? ✔️ Maintains complete history of changes ✔️ Enables team collaboration ✔️ Supports branching & experimentation ✔️ Ensures code safety and integrity 🔹 What is Git & Why Git? Git is a distributed VCS known for its speed, flexibility, and powerful branching capabilities. It’s widely used in DevOps and CI/CD pipelines. 🔹 Git Stages Explained: 📂 Working Directory – Where you create/modify files 📌 Staging Area – Where changes are prepared (git add) 📦 Repository – Where changes are permanently stored (git commit) 🔹 Git Lifecycle: Modify ➝ Stage ➝ Commit ➝ Push ➝ Pull 🔹 Linux Commands to Install Git: sudo apt install git -y sudo yum install git -y sudo dnf install git -y 🔹 Git Logs: Tracking history using commands like: git log git log --oneline git log --graph 💡 Key Takeaway: Mastering Git is not optional — it’s a must-have skill for every DevOps Engineer to manage code efficiently and collaborate seamlessly. 📈 Every commit you make is a step closer to becoming a better engineer! 🔥 What’s next? Diving deeper into branching strategies and Git workflows! #DevOps #100DaysOfDevOps #Git #VersionControl #Linux #CloudComputing #SoftwareDevelopment #DevOpsJourney #LearningInPublic #TechGrowth #CI_CD #Automation #Programming #Developers #flm #Engineering #CareerGrowth #OpenSource #TechCommunity #BuildInPublic 🚀
To view or add a comment, sign in
-
-
📝 Day 6 Sharing my DevOps Series..... *git config is used to set and manage Git settings like your username, email, editor, and more. git config --global user.name "Your Name" git config --global user.email "your@email.com" *View commit history git log git log --oneline *Git Branch git branch git branch feature git checkout feature Branch = separate workspace *Git Merge - Combine changes git merge feature Merges feature branch into main Watch for conflicts *Git Clone Copy a repository git clone <repo-url> Downloads project to your system *Git Pull vs Fetch git fetch git pull Fetch = download changes Pull = fetch + merge *Git Push Upload your code git push origin main Sends commits to remote repo *Git Tag Mark important versions git tag v1.0 git push origin v1.0 Useful for releases *Git Stash Save work temporarily git stash git stash pop Useful when switching tasks *Git Rebase vs Merge Two ways to integrate code Merge → keeps history Rebase → cleaner history git rebase main *Git Fork (GitHub Workflow) Post: Contribute to open source Fork → copy repo Clone → local copy Push → your repo PR → contribute git cherry-pick git cherry-pick is used to pick a specific commit from one branch and apply it to another branch. git cherry-pick <commit-id> #GitHub #OpenSource #DevOps #git #cloud #repository.....
To view or add a comment, sign in
-
-
🚀Day 34/90 Days DevOps Challenge - Introduction to Git & Basic Commands Today I completed Shell Scripting and started a new tool: Git & GitHub. This marks a shift from scripting to version control, which is a core part of DevOps. Git is a distributed version control system used to track and manage changes in source code efficiently. 🔹 What Git Helps With It tracks: • Who made the changes (author) • What changes were made • When the changes were made It solves major problems like collaboration, tracking code history, and maintaining backups. 🔹 History of Git Before Git, developers faced issues in collaboration and version tracking. Tools like BitKeeper were used but had limitations. Git was introduced by Linus Torvalds in 2005 as a free and open-source solution. 🔹 Git Workflow (Very Important Concept) Working Directory → Staging Area → Local Repository → Remote Repository Understanding this flow is critical. If you skip this, Git will always confuse you. 🔹 Core Git Operations • Adding → Move files to staging area • Committing → Save changes in local repo • Pushing → Upload code to remote repo • Pulling → Download latest changes 🔹 Basic Commands I Practiced • git init → Initialize a repository • git config user.name / user.email → Set identity • git add <file> → Add file to staging • git add . → Add all files • git status → Check file status • git commit -m "message" → Save changes • git log → View commit history • git remote add origin <url> → Connect to GitHub • git remote -v → Verify remote connection • git push origin master → Push code to GitHub 💡Key Learning Git is not about memorizing commands. It’s about understanding the flow of how code moves from your system to a shared repository. 📌 Tomorrow’s Topic: pulling, fetch & cloning in Git #90DaysOfDevOps #DevOps #CICD #Docker #Kubernetes #AWS #terraform #ansible #prometheus #grafana #CloudComputing #InfrastructureAsCode #LearningInPublic #FreshGraduate #CloudEngineer #Linux #Git #GitHub #VersionControl
To view or add a comment, sign in
-
-
🚀 Day 37 – Git & GitHub 🔧🌐 Today I learned about version control systems, especially Git and GitHub, which are essential tools for developers and DevOps engineers 💻 🔧 What is Git? Git is a version control system used to track changes in code. 👉 It helps to: Save versions of files Track changes Collaborate with team members 🌐 What is GitHub? GitHub is a cloud platform where we can store and manage Git repositories online. 👉 It allows: Sharing code Team collaboration Project management ⚙️ Basic Git Commands 👉 Initialize repository: git init 👉 Check status: git status 👉 Add files: git add . 👉 Commit changes: git commit -m "message" 👉 Connect to GitHub: git remote add origin <repo-url> 👉 Push code: git push origin main 🔄 Git Workflow 1️⃣ Create/modify files 2️⃣ Add changes (git add) 3️⃣ Commit changes (git commit) 4️⃣ Push to GitHub (git push) 💡 Why Git & GitHub? ✔ Track code changes easily ✔ Work with teams efficiently ✔ Backup code safely ✔ Essential for DevOps & CI/CD 📌 My Learning Today Understanding Git and GitHub gave me confidence to manage code, collaborate with teams, and work on real-time projects 🚀 💬 Hashtags #Git #GitHub #DevOps #VersionControl #CloudComputing #LearningJourney #TechSkills #WomenInTech #CloudEngineer
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development