Some teams ask testers to switch a local web project to a branch. These three commands only show information or switch which version you’re looking at on your own computer. They don’t change anything on the shared repository.
$ git log --oneline -3
7f3d0b1 Merge pull request #418 from fooddash/fix/FD-327-reorder-prices
a1c9e2f Use current menu prices when reordering (FD-327)
5b2e9c4 Show opening hours on the menu screen (FD-318)
git log lists commits, newest first: short hash and message. Here you can see that the fix (a1c9e2f) was merged in 7f3d0b1, after 5b2e9c4. So a build made from 5b2e9c4 doesn’t have it.
$ git status
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
git status tells you which branch you’re on and whether you have local changes. “Up to date with origin/main” means your copy matches what was last downloaded from the shared repository; it doesn’t download anything by itself.
$ git checkout fix/FD-327-reorder-prices
Switched to branch 'fix/FD-327-reorder-prices'
git checkout <branch> switches your local files to another branch, for example to run a web project with a fix locally. Newer git versions also offer git switch <branch> for the same thing. If a developer asks you to do this, ask them to walk you through it the first time.