# Gogogaga, Learn Git like 5 years old

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764417150989/f5e61902-6e34-486e-85af-c3ed33a28414.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764396317488/412ac417-4678-4bbc-8def-bc3358753185.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764401346295/7d73b465-16b5-4905-9b14-235d025dda70.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764401455475/8164529b-517c-488c-9a8a-25bc2ad6488e.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764402060115/3e103bf7-8e1e-485e-a3c8-9ca62f2df222.png align="center")

This command is just to give some description about what you did so far, this will help camera to remember even if you check it after a year. It can tell you exactly what, when, who was doing this.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764401606916/a62dc123-9773-4523-a060-41139a62100f.png align="center")

Now you have the exact copy of your original work, even though its completely empty

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764396524109/2a15d29e-0863-4300-aee4-e765b2e6945d.png align="center")

### » But wait a minute, you notice something different in the copy

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764402181172/9b5d3b7a-d17d-4763-9241-52b465ac0b5b.png align="center")

### Congratulation. You created the first copy with version number. The hash you see is unique to your work, so it won’t repeat ever.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764402763626/2152bedc-ef21-4a01-9c4a-1735ccce9976.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764403035964/f6088bd6-0982-40fb-8335-d5ade376449c.png align="center")

So far, the above is our state, we have 1 original work we were doing and on the backup, we have 2 copy with different state version.

But opps, you did some mistake while making the another shape, and unfortunately you can’t erase it anymore.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764403466206/382b360e-ed15-4af8-8c20-43cafbfbd840.png align="center")

This is where the git backup will be useful. You can just pull the copy and start working again, and delete the mistake original file, you can remove the original mistake file as we won’t need that again.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764403587352/0410a8ff-fc01-40d9-9c04-852335a3e59f.png align="center")

Everytime we any changes and write,  
git add all  
& git commit -m “Message” it just create another version that we can use later and modify whenever we want.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1764417731276/0ef15f69-5187-4b20-9595-af87694ec391.png align="center")

thats why, once you use the git. You don’t have to worry about the versioning.

Alright, thats the start of the git. Alot to cover, see you kids on the next blog!  
Gogogaga byee
