My GitHub Journey: How I Came to Know Version Control
Sudip Shrestha | Published on
Introduction
In this blog post, I'll share how I came to learn about Git and GitHub version control, and how they helped me create more efficient workflows. Initially, I focused on improving repetitive and iterative tasks—particularly the way I used to update the blog section of my website—gradually transforming those steps into smoother, more fluent, and less time-consuming processes.
Catalyst
The incident that led me to start using Git and GitHub was getting a new laptop. After purchasing it, I realized I couldn't easily access the folders I previously used to manage my website content. That’s when I discovered GitHub — it allowed me to clone my repository and make my project accessible from any device, anytime.As I explore more about them I found that it makes my previousl steps more effecient. let's see how:
The steps I used to follow to update my blog section were quite manual. First, I would modify or create a file, then log into the hosting site, delete the existing file (if I was making a modification), and upload the new one. After learning Git and GitHub, this process became much simpler — now, I can make changes directly from my VS Code editor using the terminal, and update everything with just a few Git commands.
My First Interaction with Git
This blog I am writing was published through Git which was my first Interaction. The command I used:
git add git.html
git commit -m "Update blog section with new post"
git push origin main
I even moved image files into subfolders using simple commands like:
mv photo.jpg asser/
These basic Git commands opened the door to a more streamlined, version-controlled development process. What started as a problem became the spark that introduced me to a powerful new tool—and I haven’t looked back since.
The Power of Collaboration
One of the most exciting aspects of GitHub is the ability to collaborate with other developers. Through pull requests, I was able to contribute to other people’s projects, and they reviewed my work. It felt incredible to work together with people from all around the world.
My Key Takeaways
- GitHub is an essential tool for version control and collaboration.
- Contributing to open-source can teach you a lot and expand your network.
- Understanding Git workflows can improve your coding efficiency.
Conclusion
GitHub has played a huge role in shaping my development journey, and I encourage everyone to start using it. Whether you’re an aspiring developer or a seasoned professional, there’s always something new to learn on GitHub. Start small, make your first commit, and see where it takes you!