Git
Jul 12, 2025
How to use Git?
Terminology
- origin : GitHub repository
- local: your local computer
nita@Lama:~/Repos/vizhub$ git status
On branch main
Your branch is behind 'origin/main' by 20 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)Git pull : to pull changes on the origin/remote repository
You need to be on the main branch to pull the chages.
Get Nita Nagdewate’s stories in your inbox
Join Medium for free to get updates from this writer.
npm i run it after pulling the new changes
How to delete a branch?
- git checkout main
- git branch -d <branch_name>
To create a new branch
1 Checkout the main branch
git checkout main
2 Then create a branch
git branch branch-name






