Watch on YouTubePlayPlays from YouTube. Google's privacy policy (opens in a new tab) applies.
Adam shows how to read Claude's changes in the Changes panel, then has Claude put the new feature on its own branch with a first commit, and opens a git graph mod to see it.
What you'll learn
- The session rail shows which branch you're on; the Changes panel lists changed files, lines added and removed, and the diffs (green added, red removed, both means replaced).
- Commits show at the bottom of the Changes panel in the current app; no commits means nothing has been saved to history yet.
- Reading the diff tells you what Claude did (for example a new shared app shell that shrank the original page by 115 lines).
- Your file list will differ from Adam's: AI output varies with the model and the time you watch.
- Ask Claude to create a branch and commit in one go.
- Branch names often carry a scope prefix:
feature/orfeat/,fix/,docs/; conventions vary between repos. - The Claude app supports mods: you can ask Claude to add what the app lacks, such as a git graph.
Chapters
- 00:00Opening the Changes panel
- 01:34Reading Claude's changes
- 03:49A new branch and first commit
- 06:22Why a git graph helps
- 07:24Opening a git graph mod
- 00:00Okay, so that first implementation of the My Bookings view is ready.
- 00:04Before we start iterating on this, let's make sure we create that first snapshot in our version history.
- 00:11So let's create our first commit.
- 00:14So I'm going to head back to Claude Code desktop application.
- 00:18And first of all, I want to confirm, you know, what is our current situation.
- 00:22So over here in my case, uh by the way, if you don't see this sidebar, make sure you click over here on this button, so the session rail.
- 00:29Um and over here I can see that I'm working still on the main branch, uh which is okay for now because I'm assuming my Claude did not make any
- 00:38comments here directly on the main branch.
- 00:41And in order for me to confirm that uh what I can do is I can head over here and uh click on this Changes button that is going to
- 00:48bring up a different panel.
- 00:50And this is a very interesting panel and I encourage you to keep an eye on this one uh every now and then.
- 00:56Um not only this panel is going to list all of the files that Claude has changed in between turns or in between commits, but also um this one is
- 01:06also telling me that we do not have any comments.
- 01:08And how can I tell?
- 01:10Because I know that in the current version of the Claude Code desktop application at least, if I had any comments here, I would see them here at the bottom
- 01:18uh of this of the side rail, uh which by the way you can bring up by clicking over here on this um on this like hide show files button.
- 01:27Um this again is a very nice thing to review every now and then just to get like keep a better track of what Claude is uh changing.
- 01:36Um over here I can see um there is a new nav tabs component which is new.
- 01:40I can tell because its name is uh like the color of the text is green.
- 01:45Um over here we have two numbers for each file uh or like for some of them we only have one.
- 01:51These are just the number of lines of code which have been added and removed um in that particular change.
- 01:57And I can click into any file that I want.
- 01:59And over here, with these, you know, green portions, I get to see which lines of code are new.
- 02:06And the red ones show me which one have been removed.
- 02:09If I have, you know, a stack of red portion and a green portion, it means that, you know, something got replaced.
- 02:15And over here, I can see that Claude decided to make some changes to like the API of our button component.
- 02:24And I can also see like that this parking view, which was like initially it was the only view which we had, right?
- 02:31This file has actually shrunk down quite significantly.
- 02:36We got we're looking at 115 lines of code removed.
- 02:40And this is because, and this is what I got to read from the plan, Claude decided to basically create a new app shell.
- 02:50So like a layout component that's going to control that that is going to control like things like the padding over here or like the layout of these columns across
- 03:03both these pages, book a space and my bookings, which is a very nice start because I wouldn't really want to have that code being duplicated.
- 03:10Now, keep in mind, you know, if you are following along with me, we are working with AI, so chances are your list of files are going to be like
- 03:19totally different. And that is okay.
- 03:21Like each Claude is going to like depending on the model, but also the time of the time of the year you're watching this, you might just see different results
- 03:30and that is okay.
- 03:31The bottom line here again is that we are working like cleanly, meaning there are no commits yet.
- 03:38So what I'm going to do is I'm going to close this tab now.
- 03:41And I'm going I'm going to ask Claude to set up a branch and make the first commit before we start iterating on this.
- 03:49So I'm going to say, thanks, can you now set up a new branch for this work and create our first commit.
- 04:02And I'm going to hit send and um in a second, we should see um how when I go back to this changes panel, things will look slightly different.
- 04:14Uh let's see. Okay, so over here I can already see that Claude has created a new branch and we are indeed now on a different branch.
- 04:24Uh it's called feature/my bookings.
- 04:27Um by the way, the way or the reason uh Claude Claude gave this branch such a unique name with that slash is because of a commonly used convention to
- 04:38keep commits, but also branch names and sometimes even PR names um a bit of a like a scope description and the way you define like the scope of work
- 04:47and the way you define the scope of work is by using one of the keywords such as feature or just sometimes it's just feat uh when it's shorter.
- 04:56Um sometimes it's just about documentation, so you would see docs/something, uh feature/something, bug/some or like I'm sorry, fix/something in case the work we do is only um about like
- 05:09fixing any specific bugs.
- 05:11We are not going to dive like super deep into these different commit uh or branch naming conventions um in this course, but I guess it's a it's a good
- 05:20thing to remember that uh you might actually uh stumble upon different conventions in different code repositories.
- 05:28Um so okay, we have this uh branch created and now if I go into the changes panel, I can see the panel like or that sub panel which I
- 05:38um um which I mentioned a little bit later earlier with that first commit listed over here.
- 05:44So that is the first and so far the only commit which we have on this particular branch.
- 05:51And now um this panel is comparing like the all of the files that are different or have changed uh based on like the main uh like the the main
- 06:02branch. Um okay, so I 'm going to close this panel for now.
- 06:07Uh, by the way, my Claude is already asking me whether we should create a PR.
- 06:11No. We are far from creating a PR, so I'm not going to uh I'm not going to ask it to do so.
- 06:17There is one more thing that I would like to um that I would like to talk about here before wrapping things up for this video, which is even though
- 06:27uh we all now know how to keep track of the commits uh within the Claude desktop application, I don't really believe that is the most convenient way of uh
- 06:38like just keeping an eye on how Claude is handling commits or working with branches in general.
- 06:44Um, if we are working with uh code editor such as VS Code, these typically come with very nice, very elaborate git graphs which show this git tree that looks
- 06:55a little bit more familiar like one of the um slides from the beginning of this module.
- 07:01Um, now unfortunately, Claude desktop application does not have anything like that built in just yet, but there is something else we can do.
- 07:10Um, you see Claude Code desktop application allows you to create so-called mods.
- 07:16You can ask Claude basically to add anything you want uh into this application to make it uh work a little bit better with your custom needs.
- 07:26And I have happened to uh ask Claude before to create an equivalent of that git tree um view.
- 07:35And now I can bring it up just by going into git graph and hitting enter.
- 07:41And this is going to open up this brand new panel that is going to list all of my commits.
- 07:47And by the way, it's also going to show me uh which branch I am currently on.
- 07:51So, ask for me right now, like we have only two commits in this entire git repository.
- 07:57The first one, the initial commit which we made in at the end of the previous module, and then we have the the commit which we made just right now.
- 08:05Uh, and I can see this commit is right now listed under the feature my bookings branch, which is exactly what we wanted.
- 08:12Now, if you want to have a very similar Git graph view, I'm going to be sharing a link to this Git mode.
- 08:20I'm sorry, I'm I'm going to be sharing a link to this Claude mode and you can install it yourself within your Claude Code desktop application.
- 08:28I encourage you to do so.
- 08:29In fact, at least for the purpose of following along in this course, this is going to make a little bit easier for you to get a better idea of
- 08:38how this Git graph is going to be changing depending on how we proceed with our work later on.
- 08:44And with that, in the next couple of videos, we're going to take care of the refinements.
- 08:49We are going to be working with commits and then we're going to proceed to raising our first PRs a little bit a PR a little bit later.
- 08:56So really exciting things ahead of us.
- 08:59I'll see you in the next video.