My git and gitHub learning journey.

Amey ChouguleAmey Chougule
2 min read

About git

When I first started learning about version control, the difference between Git and GitHub was a bit confusing. I soon realized that Git is a local version control system—a software installed on your machine—while GitHub is a web-based platform that hosts your Git repositories online and allows collaboration.

After understanding that distinction, I moved on to explore Git terminologies and various basic commands. I learned how Git works under the hood and got comfortable with the typical workflow: initializing a repository, staging changes and committing.

Things got a bit tricky when I encountered branches and conflicts. Creating and working with branches was relatively smooth, but merging them and resolving conflicts was challenging at first. However, through practice and self-learning, I was able to grasp the concepts and become confident in handling them.

Later, I learned additional commands for renaming, deleting, and listing branches, which added to my overall understanding of Git.

Later on, I learned about git diff, stash and tag these topics were not confusing and easy enough.

Then after, got to know about topics such as rebase and reflog, rebase is a cleaner method to merge branches because an extra commit is created while merging branches normally. But Rebase is kind of risky because once you reset to previous commit it rewrites the history.

About gitHub

GitHub was easy to understand.

Tip from a beginner to a beginner : If you are finding difficult understanding these concepts and if thats your reason for not pushing your projects on gitHub, you can use gitdesktop application to do so its a powerfull GUI that you can use for a start.

Resources

The tutorial I watched throughout my learning journey: https://youtu.be/q8EevlEpQ2A?si=PjU_36yeXFhHjJl2

Also took help from chatGPT

1
Subscribe to my newsletter

Read articles from Amey Chougule directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Amey Chougule
Amey Chougule