<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7" -->

---
title: Git Diff 2 Different Commits, Tags or Branches | daily.dev
description: Learn how to compare different points in time in Git to identify errors or evaluate changelogs. The post also includes a demo video showcasing various use...
canonical: https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Git Diff 2 Different Commits, Tags or Branches | daily.dev
og:description: Learn how to compare different points in time in Git to identify errors or evaluate changelogs. The post also includes a demo video showcasing various use...
og:url: https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7
og:image: https://api.daily.dev/og/posts/YB290qZE7.png
og:image:alt: Git Diff 2 Different Commits, Tags or Branches
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 Diff 2 Different Commits, Tags or Branches

**[Nick Janetakis](https://daily.dev/sources/nickjanetakis)** · 1 min read · 11 upvotes · 0 comments

## Summary

Learn how to compare different points in time in Git to identify errors or evaluate changelogs. The post also includes a demo video showcasing various use cases.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nickjanetakis.com/blog/git-diff-2-different-commits-tags-or-branches>

---

Tags: [#git](https://daily.dev/tags/git), [#version-control](https://daily.dev/tags/version-control)

[View this post on daily.dev](https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7)

```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 Diff 2 Different Commits, Tags or Branches","url":"https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7"},"datePublished":"2024-03-19T11:03:26.946Z","dateModified":"2024-05-09T09:06:08.895Z","description":"Learn how to compare different points in time in Git to identify errors or evaluate changelogs. The post also includes a demo video showcasing various use...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/67ac73b96ee48e8e31377eee4fbd691a?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/67ac73b96ee48e8e31377eee4fbd691a?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Nick Janetakis","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":"Nick Janetakis","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6","url":"https://daily.dev/sources/nickjanetakis"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/git-diff-2-different-commits-tags-or-branches-yb290qze7","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"git,version-control","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Nick Janetakis","item":"https://daily.dev/sources/nickjanetakis"},{"@type":"ListItem","position":3,"name":"Git Diff 2 Different Commits, Tags or Branches"}]}
```

