---
title: "How does git work?"
url: https://daily.dev/posts/how-does-git-work--y-2le5hm1
source_url: https://steven-giesel.com/blogPost/327faa1b-3802-4e48-bf39-8b06590da57b
type: article
source: "Discover .NET"
published: 2022-07-11T14:56:28.923Z
updated: 2022-07-11T14:56:28.922Z
tags: ["git"]
reading_time: 9
upvotes: 20
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How does git work?

**[Discover .NET](https://daily.dev/sources/discdot)** · 9 min read · 20 upvotes · 1 comments

## Summary

git is one of the most used version control systems out there. It is super versatile but this comes also with a price. git only safes the diff (difference) between two commits. Operations like amend or rebase will create new commits. A commit is nothing more than the difference between the last commit and the changes you did right now.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://steven-giesel.com/blogPost/327faa1b-3802-4e48-bf39-8b06590da57b>

## Community discussion

Top comments from developers on daily.dev.

**@kkurko** · 1 upvotes

> Nice overview of primary git concepts and for everyone who wants to become more confident in all these git operations I recommend to take a look at [this source](https://learngitbranching.js.org) - here you will find really interactive and visual tutorials

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#git](https://daily.dev/tags/git)

[View this post on daily.dev](https://daily.dev/posts/how-does-git-work--y-2le5hm1)
