DevOps Journey: Week 2 - Learning Git & Version Control

Arjun Sonani - Oct 17 - - Dev Community

Hi everyone! 👋

I’m back with an update on my DevOps learning journey! 🚀
Week 1 Recap: Linux Fundamentals

Last week, I focused on Linux fundamentals and built a strong foundation in navigating the Linux file system and essential commands. Here’s a quick rundown of what I learned:

  • File System & Hierarchy: Explored the Linux directory structure and how different folders (like /home, /bin, /etc, etc.) are organized.

  • Basic Commands: Learned how to create files and directories, edit files with the vi editor, and handle hidden files and directories.

  • File Manipulation: Practiced moving, renaming, copying, cutting, pasting, and removing files and directories using mv, cp, and rm.

  • User & Group Management: Added new users and groups, assigned users to groups, and managed permissions using commands like useradd, groupadd, and usermod.

  • Links: Created hardlinks and softlinks (ln and ln -s) to reference files and directories.

  • Archiving & Compression: Generated archive files with tar and compressed them using gzip and gunzip.

  • Access Modes: Used chmod to change file permissions, chgrp to change group ownership, and chown to change the owner of files.

Overall, Week 1 was packed with essential Linux skills that will come in handy throughout my DevOps journey. I’m feeling more confident with the command line now, and it’s been a great start! 💻
Week 2: Diving into Git & Version Control

*Note: * Click here, to get to the resource I have referred to learn linux. If you wish not to click, then do search 'Technical Guftgu' on Youtube. He's an amazing instructor but keep in mind he teaches in Hindi.

For Week 2, I’ll be shifting gears to learn Git and version control. As an Angular developer, I’ve used Git before, but I’m excited to dive deeper into branching strategies, pull requests, and version control best practices.

Here’s what I’ll be focusing on this week:

  • Git Basics: Understanding how Git works, initializing repositories, and tracking changes.

  • Branching & Merging: Creating and switching between branches, and handling merges.

  • Collaborating with Git: Working with pull requests and merge requests on GitHub.

  • Git Workflows: Exploring different Git workflows like GitFlow, trunk-based development, etc.

  • Version Control Best Practices: Learning how to keep repositories clean and collaborate effectively in a team.

I’ll also be setting up my own projects in Git and practicing with repositories on GitHub to solidify these concepts.
Next Steps

I’ll share my progress and any tips I pick up as I go deeper into Git and version control. Feel free to follow along, and if you have any suggestions or resources, drop them in the comments! Let’s keep learning together. 🙌

Thanks for reading! Stay tuned for my Week 3 update, where I’ll explore Networking. 🚀

. .