Day 21 of learning Tech. I continued learning about Git and why it is such an important tool for developers and DevOps engineers. Before Git, version control was often done manually, which made it easy to lose changes or create confusion when multiple people worked on the same project. Git helps solve this by creating a structured history of changes, enabling safe experimentation with branches, and making collaboration much easier. One of the first commands I learnt is git init, which creates a new repository and adds a hidden .git folder that stores the project’s version history. I also learned about git clone, which allows you to download a project from GitHub to your local computer. Another important concept is the staging area, where files are prepared before being committed. Commands like git add and git add . move changes to the staging area, while git commit creates a snapshot of the project at a specific point in time, including the reasons for the changes and who made them. I also explored branching. Branches allow developers to work on new features without affecting the main project. Using commands like git branch and git switch, we can easily create and move between branches. To track project changes, we can use commands like git status, git diff, and git log. These commands help us see file changes, staged files, and the full history of commits. Finally, I learned how to collaborate with others using git push to upload changes to GitHub and git pull to download updates from the remote repository. I also saw the importance of the .gitignore file, which tells Git which files should not be tracked. Step by step, I'm building a deeper understanding of Git and how it helps teams manage code and collaborate effectively. TS Academy #Devops #Cloudcomputing #git #Buildinpublic #learnwithTs
Learning Git for DevOps Engineers
More Relevant Posts
-
🚀 DevOps Learning Journey -🔧 Day 10 – Git Basics (Version Control System) Today I continued learning Git, a powerful version control system used to track changes and collaborate on code efficiently. 🔹 What is Git? Git helps developers manage code, maintain version history, and collaborate with teams without conflicts. 🔹 Why Git is Important? ✔ Tracks history of code changes ✔ Enables team collaboration ✔ Supports version control and rollback ✔ Integrates with CI/CD pipelines 🔹 Basic Git Commands I Practiced • git init – Initialize a new repository • git add . – Add files to staging area • git commit -m "message" – Save changes • git status – Check current status • git log – View commit history 🔹 Additional Commands • git show – Display details of a specific commit • git show --stat – Show commit details with file changes summary • git log --oneline – View commit history in a short format • git log --pretty=oneline – Display each commit in a single line 🔹 Example Workflow git init git add . git commit -m "Initial commit" git log --oneline 📌 Hands-on: Created a local repository, tracked changes, and explored commit history using different Git log commands. Understanding Git is a key step towards mastering version control and CI/CD pipelines. #DevOps #Git #VersionControl #LearningJourney #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
🚀 DevOps Learning Journey – Git & GitHub Deep Dive Yesterday, I dedicated my time to revising Git and GitHub in depth as part of my ongoing DevOps learning challenge. This revision helped me strengthen my understanding of how modern development teams collaborate efficiently on a single project using version control systems. 🔍 Key Concepts I Focused On: 🔹 Version Control Basics Understanding how Git tracks changes, maintains history, and allows developers to work without affecting the main codebase. 🔹 Branching Strategy Learned how developers create separate branches (git checkout -b feature-name) to work on features independently and safely. 🔹 Collaboration Workflow Explored how multiple developers contribute to the same repository using: Clone → git clone Branch → git checkout -b Commit → git commit Push → git push Pull Requests & Code Review 🔹 GitHub Repository Management Understood how organizations manage access, maintain repositories, and ensure smooth collaboration among team members. 🔹 Merge & Conflict Handling Got clarity on merging branches and resolving merge conflicts — one of the most important real-world skills. 💡 Key Takeaway Git & GitHub are not just tools, they are the backbone of collaboration in DevOps and software development. A strong foundation here makes working in teams much more efficient and structured. #DevOps #Git #GitHub #LearningJourney #VersionControl #CloudComputing #ContinuousLearning #TechCareer
To view or add a comment, sign in
-
🚀 DevOps Learning Journey... Continuing my learning journey and diving deeper into Git and GitHub concepts. Today I focused on advanced Git topics and understood how version control works in real-world collaboration. 📌 Topics I covered today: 👉 Git branching concepts 👉 Difference between "merge and rebase" 👉 Stash commands (saving temporary changes) 👉 Introduction to GitHub and how it works 👉 Cloning, pulling, and pushing code 👉 Generating SSH key and connecting to GitHub 👉 Git tags and their usage 👉 Forking repositories and its purpose Learning these concepts helped me understand how developers collaborate, manage code versions, and work efficiently in teams. Practicing these in real scenarios is helping me gain more confidence in Git and GitHub workflows. Step by step, moving closer to my goal of becoming a DevOps Engineer. 🚀 #DevOps #Git #GitHub #VersionControl #DevOpsJourney #LearningInPublic #ContinuousLearning
To view or add a comment, sign in
-
As I progress into learning more about Devops, here's all the things I've picked up while studying GIT this week! 🚀 Week Progress: Mastering Git & Real-World Version Control Over the past week, I’ve been focused on building a solid foundation in Git — not just using commands, but understanding how it works in real development environments. Here’s what I’ve worked through: 🔹 Core Git Workflow • Working directory → staging → commits → remote • Understanding Git as a snapshot-based system (not just file changes) 🔹 Branching & Collaboration • Creating feature branches and merging safely into main • Handling merge conflicts manually • Using GitHub workflows: fork → clone → branch → commit → push → pull request 🔹 History & Code Management • Exploring commit history with git log --oneline --graph • Using git show to inspect changes • Cleaning commit history with interactive rebase & squash 🔹 Real-World Development Practices • Using git stash to manage context switching • Understanding when to use merge vs rebase • Maintaining clean, readable commit history 🔹 Debugging & Recovery • Safe undoing with git revert vs destructive changes with git reset • Understanding detached HEAD and how to avoid losing work 💡 Key takeaway: Git isn’t just about files — it’s about managing history, collaboration, and maintaining clean, reliable codebases. This week has taken me from basic usage to confidently handling real-world workflows used in development teams. Next step: diving deeper into DevOps practices and automation 🚀 #Git #DevOps #SoftwareDevelopment #LearningInPublic #OpenToWork #CoderCo
To view or add a comment, sign in
-
#Day_13 – Starting Git, GitHub & GitLab (DevOps Journey) Today, I started learning Git, GitHub, and GitLab, and this is one of the most important steps in my DevOps journey. 👉 Version control is not optional… it is a must for every developer and DevOps engineer. 🔹 What is Git? (Basic Understanding) Git is a version control system that helps track changes in code. Keeps a history of all changes Helps in teamwork Easy to go back to previous versions 👉 It is like a “save + history + backup system” for code. 🔹 Basic Git Commands git init – start a new repository git status – check current state git add . – add files to staging git commit -m "message" – save changes git log – see commit history 👉 These are the most used daily commands. 🔹 What is GitHub? GitHub is a cloud platform where we store our Git repositories. Store code online Share projects Collaborate with others 👉 It is widely used in industry. 🔹 What is GitLab? GitLab is similar to GitHub but also provides: Built-in CI/CD More control for DevOps Used in many companies 👉 Both GitHub and GitLab are important tools. 🔹 Working with Remote Repositories git remote add origin <url> git push – upload code git pull – get the latest code 👉 Helps in teamwork and syncing code. 🔹 Branching Concept git branch – create branch git checkout – switch branch git merge – merge changes 👉 Branching helps work on features without affecting the main code. 🔹 Collaboration Basics Multiple people work on the same project Use pull requests/merge requests Review code before merging 👉 This is how real companies work. 🔹 Why Git is Important in DevOps? Track every change Easy rollback Supports CI/CD pipelines Helps automation 👉 Without Git, DevOps is incomplete. What I realised today: ✔ Git is the backbone of development ✔ GitHub/GitLab make collaboration easy ✔ Version control is a must-have skill ✔ Every DevOps engineer uses Git daily 👉 Today was very important for my journey. Let’s keep learning and growing 💪 #Linux #DevOps #Git #GitHub #GitLab #Day13 #LearningInPublic #ITSkills #CareerGrowth #trainwithshubham #joshbatch10 #devopsengineer
To view or add a comment, sign in
-
🚀 Day 3 Small Steps, Big Learning! Today I focused on improving my workflow and understanding how professionals manage code and projects. 🔧 What I worked on today: Set up my development environment and ensured tools like Git and VS Code are working properly. Practiced important Git commands to track and manage code changes. Organized my project repository with a proper folder structure (scripts, configs, docs). Created a detailed Day 3 report documenting my work and debugging process. 💡 One thing I learned today: Using clear and meaningful commit messages makes it much easier to track changes and collaborate with others in a project. 🎯 My goal for this week: To strengthen my DevOps fundamentals and build better habits for writing clean code, documentation, and version control. Learning in public and enjoying the journey! 📈 #IndustryImmersion #DevOps #Git #LearningInPublic #TechLearning
To view or add a comment, sign in
-
-
🚀 DevOps Multi-Cloud Learning Journey – Day 14 Today’s session was focused on advanced Git commands, which are essential for efficient version control and managing code history. Key learnings: ⚙️ git config – Configure username and email ✏️ git commit --amend – Modify last commit 🚫 .gitignore – Ignore unnecessary files 🔄 git reset (soft & hard) – Undo changes in different ways 🍒 git cherry-pick – Apply specific commits 📜 git reflog – Track all Git activities 🔍 git log -p – View detailed commit changes These concepts help in better control, debugging, and managing project history in real-time development. Frontlines EduTech (FLM) #DevOps #Git #VersionControl #AWS #CloudComputing #LearningJourney #TechSkills #ContinuousLearning #FrontlinesEduaTech #FLM
To view or add a comment, sign in
-
-
🚀 Week 10 of My Learn-in-Public Journey – Learning Progress & Key Takeaways 📘📈 This week, I wrapped up another consistent week of learning and spent time strengthening my understanding of Git and GitHub fundamentals. Every small concept learned adds one more building block to my Cloud & DevOps journey. 🔁 📘 Weekly Overview During Week 10, I focused on learning and practicing Git and GitHub basics through hands-on exploration. Understanding version control is extremely important because Git is the backbone of modern software development, DevOps workflows, and cloud-based collaboration. This week was all about building strong foundations and practicing real workflows used by developers and DevOps engineers. ⚙️ 📚 What I Learned This Week 🔹Understanding how Git tracks changes and manages versions of code 🔹Practicing branching concepts and how teams work on different features simultaneously 🔹 Learning how Git Stash helps temporarily store unfinished changes 🔹 Exploring Git Diff to compare file changes and understand modifications 🔹 Understanding Git Revert for safely undoing changes in a project 🔹 Learning Git Cherry-pick to apply specific commits from one branch to another 🔹 Practicing these concepts through hands-on commands and workflow simulations 💡 Key Takeaways / Reflections This week helped me strengthen my confidence in using Git workflows. I realized that Git is not just about commands—it’s about understanding how teams collaborate and manage code safely. Some concepts required practice, but each attempt improved my problem- solving and debugging skills. 📈 🌍 Real-World Relevance These Git concepts are widely used in real projects and DevOps environments: 🔹 Cloud & DevOps teams use Git for version control and collaboration 🔹 CI/CD pipelines rely on Git repositories to trigger automated builds and deployments 🔹 Developers use branching strategies to develop features without breaking production code 🔹 Tools like GitHub integrate with cloud platforms to manage code, reviews, and deployments Mastering Git is a key step toward becoming a Cloud/DevOps engineer. ☁️⚙️ #LearnInPublic #CloudLearning #DevOpsJourney #GitAndGitHub #ContinuousLearning #FresherJourney #TechGrowth
To view or add a comment, sign in
-
🚀 DevOps Learning Journey - 🌿 Day 11 – Git Branching & Merging Today I learned one of the most important concepts in Git — Branching and Merging. Branching allows developers to work on new features or fixes without affecting the main codebase. 🔹 What is a Branch? A branch is a separate line of development. By default, Git has a main/master branch, and we can create new branches for features. 🔹 Why Branching is Important? ✔ Work on features independently ✔ Avoid breaking main code ✔ Enable parallel development ✔ Easy collaboration in teams 🔹 Git Commands I Practiced • git branch – List all branches • git branch feature – Create a new branch • git checkout feature – Switch to a branch • git checkout -b feature – Create & switch to branch • git merge feature – Merge branch into current branch 🔹 Example Workflow git branch feature git checkout feature # make changes git add . git commit -m "Added new feature" git checkout main git merge feature 🔹 Merge Concept Merging combines changes from one branch into another. Sometimes conflicts may occur, which need to be resolved manually. 📌 Hands-on: Created a feature branch, made changes, and merged it back to the main branch. Understanding branching is essential for working in real-world DevOps and development teams. #DevOps #Git #VersionControl #Branching #LearningJourney #ContinuousLearning
To view or add a comment, sign in
-
-
Day 2 of actually learning Git properly. My CS degree gave me a lot—algorithms, data structures, the whole nine yards. But version control? We touched it once and called it a day. So here I am, playing catch-up. Learned about git config—turns out Git needs to know who you are before it lets you do anything. Simple, but somehow I never stopped to think about why my commits were always showing up with the wrong name. Also finally understand the difference between tracked and untracked files. Sounds basic, I know. But I used to just git add . everything like a caveman and hope for the best. On top of that, I started reading about the DevOps lifecycle. Interesting stuff, but honestly? Theory is great, but actually managing code with a team? That's a different beast entirely. Small steps. But at least now when I break something, I'll know who's to blame (me, it's always me). What's a basic Git thing that took you embarrassingly long to figure out? Asking so I don't feel alone here. #DevOps #Git #ComputerScience #LearningInPublic #Day2
To view or add a comment, sign in
Explore related topics
- How to Use Git for IT Professionals
- How to Use Git for Version Control
- Essential Git Commands for Software Developers
- How to Understand Git Basics
- DevOps Engineer Core Skills Guide
- DevOps Principles and Practices
- Tips for Continuous Improvement in DevOps Practices
- Key Skills for a DEVOPS Career
- Best Practices for DEVOPS and Security Integration
- How to Start Learning Coding Skills
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