---
title: "Discussion on \"The most basic and essential GIT commands walkthrough\" | Hashnode"
description: "Discussion on \"The most basic and essential GIT commands walkthrough\". Hello Hashnode Developers! \nI am coming back with GIT command lines. \nWhen you are working on a project whether on your own or with a team, GIT is a must you should acquire as a developer. \nIf you just started learning web development or software dev..."
url: "https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The most basic and essential GIT commands walkthrough](https://bearcub3.hashnode.dev/the-most-basic-and-essential-git-commands-walkthrough?utm_source=hashnode&utm_medium=feed)

Hello Hashnode Developers! I am coming back with GIT command lines. When you are working on a project whether on your own or with a team, GIT is a must you should acquire as a developer. If you just started learning web development or software dev...

Oct 23, 2020 · 7 min read · bearcub3.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#git](https://hashnode.com/tag/git)

## Written by

[Emilie Shin](https://hashnode.com/@bearcub3)

@bearcub3 · Oxford, UK

  
[View profile](https://hashnode.com/@bearcub3)

front-end dev

## Responses 3

Markdown supported · ⌘↵ to post

[Sébastien Portebois](https://hashnode.com/@sportebois)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f94455540346172a86c1ad6)

Great job with the train analogy 🙌  
They always say story-telling is a great way to convey a message, I guess here the analogy+story telling is the magic that makes this so easy to read 👏

One key difference between real train and git branches too is that Git let you jump off your current branch to go to another one, with no time and no risk (don’t try that with real trains! 😅)

When I think back to the days where we moved from SVN to Git, I think the most difficult but liberating key idea was to realize that Git is decentralized by design. What that means is that **anything you do is local first**. Even when you experiment with things, you cannot screw up the remote origin (until you explicitly ask to push). So there’s no reason to fear with experiment.

Another key idea which was liberating was that branches and tag are super lightweight, there are only references (back in SVN, a branch was a complete copy of the file, so it came with size and latency costs). The consequence is that we should embrace branches and tag: creating a tag to experiment with a feature, some refactoring, or anything, let you easily rollback to your original state.

What I mean is that once we get that Git let you do things locally without breaking the shared remote origin, and makes it easy to have parallel versions to easily create experiments, it becomes liberating, and **Git becomes more than a version control tool, it becomes a workflow assistant**.

I don’t know if what I write makes sense, but it really changed and empowered the workflows that are possible compared to what we had a few years ago.

[Emilie Shin](https://hashnode.com/@bearcub3)

[Oct 25, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f94455540346172a86c1ad6#reply-5f94c46540346172a86c1f25)

Hello Sebastien, Thanks for coming by again. I am chuffed to hear that you liked my analogy. I couldn't stop laughing when you joked about not try jumping out of the train. lol

I totally agree with you about your enhancing GIT description. Thank you for your valuable opinion as always. You made my blog more worthy. haha Kudos to you, too!

[Jatin Rao](https://hashnode.com/@jatinrao)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f93ec4840346172a86c1745)

Great Article [Emilie Shin](https://hashnode.com/@bearcub3)

I really loved the `train 🚅` analogy 😊

[Emilie Shin](https://hashnode.com/@bearcub3)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f93ec4840346172a86c1745#reply-5f9417be40346172a86c18be)

Thanks I am glad you enjoyed this blog.

[Favourite Jome](https://hashnode.com/@Favourite)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f93d7effbdce372c9a56c99)

Nice approach to explaining Git, reading about `git stash` for the first time. I'll have to try it out cause I always work on the wrong branch 🤦‍♂️

[Emilie Shin](https://hashnode.com/@bearcub3)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f93d7effbdce372c9a56c99#reply-5f94181240346172a86c18c9)

Hello again Jome! Thanks for always stopping by. Yes, I tend to make the same mistake quite often. It is very useful in that case! ;-)

[Favourite Jome](https://hashnode.com/@Favourite)

[Oct 24, 2020](https://hashnode.com/posts/the-most-basic-and-essential-git-commands-walkthrough/5f9368cafbdce372c9a5696d/comment/5f93d7effbdce372c9a56c99#reply-5f941dbefbdce372c9a56e97)

You're welcome and thanks for sharing the tips [Emilie Shin](https://hashnode.com/@bearcub3)
