<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m" -->

---
title: git-sim: Visually simulate Git operations in your own repos
description: Git-Sim is a command-line tool written in Python that allows Git users to quickly and easily generate images (or even video animations) illustrating the impact...
canonical: https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: git-sim: Visually simulate Git operations in your own repos | daily.dev
og:description: Git-Sim is a command-line tool written in Python that allows Git users to quickly and easily generate images (or even video animations) illustrating the impact...
og:url: https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m
og:image: https://api.daily.dev/og/posts/bJ1NShM4m.png
og:image:alt: git-sim: Visually simulate Git operations in your own repos
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# git-sim: Visually simulate Git operations in your own repos

**[Community Picks](https://daily.dev/sources/community)** · 7 min read · 115 upvotes · 15 comments

## Summary

Git-Sim is a command-line tool written in Python that allows Git users to quickly and easily generate images (or even video animations) illustrating the impact of a Git command will have on the local repo. The primary goal is to create and visualize the effects of Git commands, while minimizing interruption to the developer workflow.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://initialcommit.com/blog/git-sim>

## Community discussion

Top comments from developers on daily.dev.

**@tesa23** · 3 upvotes

> it looks useful.

**@sahilchandravanshi** · 2 upvotes

> Going to give it try

**@johnzzon** · 2 upvotes

> I gave it a try. It's really nice to visualise merges and rebases. I've recommended it to my colleagues who are not as comfortable in git.

**@casee** · 2 upvotes

> Every now and then you find yourself needing to perform some risky git operation, cleaning history, fixing broken rebases, rolling back commits, etc.
>
> This seems really useful for determining if the command will actually do what I want, nice!

**@lukejans** · 0 upvotes

> I love this. Great add to the feed!!

---

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

[View this post on daily.dev](https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"git-sim: Visually simulate Git operations in your own repos","url":"https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m"},"datePublished":"2023-01-23T05:59:15.030Z","dateModified":"2023-01-23T05:59:15.028Z","description":"Git-Sim is a command-line tool written in Python that allows Git users to quickly and easily generate images (or even video animations) illustrating the impact...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fd5b63ea8657270c2d9e195d5e96972d","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fd5b63ea8657270c2d9e195d5e96972d","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":15,"discussionUrl":"https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":115},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":15}],"keywords":"python,git,cli","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"git-sim: Visually simulate Git operations in your own repos"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/git-sim-visually-simulate-git-operations-in-your-own-repos-bj1nshm4m","comment":[{"@type":"Comment","text":"it looks useful.","datePublished":"2023-01-29T11:03:08.238Z","url":"https://daily.dev/posts/bJ1NShM4m#c-hScgWNbaT","author":{"@type":"Person","name":"Tesa","url":"https://daily.dev/tesa23","image":"https://media.daily.dev/image/upload/v1675578240/avatars/avatar_iSbaUZkrkKCVxQBjm9wzF.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}},{"@type":"Comment","text":"Going to give it try","datePublished":"2023-01-29T11:03:49.563Z","url":"https://daily.dev/posts/bJ1NShM4m#c-Qju2drzJn","author":{"@type":"Person","name":"Sahil Chandravanshi","url":"https://daily.dev/sahilchandravanshi","image":"https://media.daily.dev/image/upload/v1671835626/avatars/avatar_pdLFkYpGC3va0Cq54Zv9b.jpg"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I gave it a try. It’s really nice to visualise merges and rebases. I’ve recommended it to my colleagues who are not as comfortable in git.","datePublished":"2023-01-30T20:21:49.830Z","url":"https://daily.dev/posts/bJ1NShM4m#c-KGHD7s3Vo","author":{"@type":"Person","name":"Emil Johnsson","url":"https://daily.dev/johnzzon","image":"https://avatars.githubusercontent.com/u/1387298?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"Every now and then you find yourself needing to perform some risky git operation, cleaning history, fixing broken rebases, rolling back commits, etc.\nThis seems really useful for determining if the command will actually do what I want, nice!","datePublished":"2023-01-24T09:20:32.605Z","url":"https://daily.dev/posts/bJ1NShM4m#c-HOS8P0aF-","author":{"@type":"Person","name":"Tom Raviv","url":"https://daily.dev/casee","image":"https://media.daily.dev/image/upload/s--5t05a9_c--/f_auto/v1732544826/avatars/avatar_5vsbHoqoAbtSU8W8nfrSm"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I love this. Great add to the feed!!","datePublished":"2023-01-23T14:52:44.171Z","url":"https://daily.dev/posts/bJ1NShM4m#c-pjanyvfOn","author":{"@type":"Person","name":"Luke Janssen","url":"https://daily.dev/lukejans","image":"https://media.daily.dev/image/upload/s--Nw82do-c--/f_auto/v1756863484/avatars/avatar_mb3lgNFUGOF15CUxBZZS8?_a=BAMClqZW0"}}]}
```

