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

3 963
22.8
Published on 13 Apr 2026, 13:01
A quick Git developer challenge:

We make a few changes to a file, make two adds, and then commit. Everything looks simple, but the final result might catch you off-guard. Which version ends up in the repo, and why? Check out the video and share your answer in the comments.
Subscribe to Google for Developers → goo.gle/developers

Speakers: Rody Davis
autotechmusickids