<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e" -->

---
title: A Git challenge: Which version ends up in the repo?
description: A short Git challenge asking developers to identify which file version (V1, V2, or V3) ends up in the repository after a sequence of write, add, add, and...
canonical: https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Git challenge: Which version ends up in the repo? | daily.dev
og:description: A short Git challenge asking developers to identify which file version (V1, V2, or V3) ends up in the repository after a sequence of write, add, add, and...
og:url: https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e
og:image: https://api.daily.dev/og/posts/HEvxeAG8E.png
og:image:alt: A Git challenge: Which version ends up in the repo?
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.

# A Git challenge: Which version ends up in the repo?

**[Google for Developers](https://daily.dev/sources/googledevelopers)** · 1 min read · 0 upvotes · 0 comments

## Summary

A short Git challenge asking developers to identify which file version (V1, V2, or V3) ends up in the repository after a sequence of write, add, add, and commit operations. Tests understanding of how Git staging and commits work.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=bXXCO7nspxU>

## Similar posts on daily.dev

- [Understanding Git Without Memorizing Commands](https://daily.dev/posts/understanding-git-without-memorizing-commands-ws08nasbq) · Medium · 1 upvotes · 0 comments
- [21 Git Commands for Software Engineers](https://daily.dev/posts/21-git-commands-for-software-engineers-1vwhnxocm) · System Design Newsletter · 127 upvotes · 6 comments

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#google](https://daily.dev/tags/google)

[View this post on daily.dev](https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e)

```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":"A Git challenge: Which version ends up in the repo?","url":"https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e"},"datePublished":"2026-04-13T13:05:27.138Z","dateModified":"2026-04-13T13:06:02.609Z","description":"A short Git challenge asking developers to identify which file version (V1, V2, or V3) ends up in the repository after a sequence of write, add, add, and...","image":"https://i.ytimg.com/vi/bXXCO7nspxU/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/bXXCO7nspxU/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Google for Developers","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":"Google for Developers","logo":"https://media.daily.dev/image/upload/s--jj3nxRoG--/f_auto/v1725035497/logos/googledevelopers","url":"https://daily.dev/sources/googledevelopers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/a-git-challenge-which-version-ends-up-in-the-repo--hevxeag8e","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,google","timeRequired":"PT1M","video":{"@type":"VideoObject","name":"A Git challenge: Which version ends up in the repo?","description":"A short Git challenge asking developers to identify which file version (V1, V2, or V3) ends up in the repository after a sequence of write, add, add, and...","thumbnailUrl":"https://i.ytimg.com/vi/bXXCO7nspxU/sddefault.jpg","uploadDate":"2026-04-13T13:05:27.138Z","duration":"PT1M","url":"https://api.daily.dev/r/HEvxeAG8E","embedUrl":"https://www.youtube.com/embed/bXXCO7nspxU"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Google for Developers","item":"https://daily.dev/sources/googledevelopers"},{"@type":"ListItem","position":3,"name":"A Git challenge: Which version ends up in the repo?"}]}
```

