Git - Move Branch
May 20, 2025
Move to “master”
Open the terminal (press Ctrl+`) and run:
git checkout master
If master isn’t checked out locally yet, do:
git fetch origin
git checkout master
If “master” was not updated in the local branch
If the branch switched successfully to master, but the files in your working directory didn’t update as expected, it could be one of these cases:
- Confirm You’re on the Correct Branch Run this to verify:
git branch
You should see something like this. The asterisk * indicates your current branch.




