Below mentioned commands are shown with examples only.
Create new branch - test1
git branch test1(new branch name) origin/develop
Switching to different branch - test2
git checkout test2
Create branch - test3 and switch to new branch -test3
git checkout -b test3 origin/develop
To know which branch
To know the information of latest branch
git fetch upstream/develop
To download latest code
git rebase upstream/develop
To delete the branch
git branch -d test1
To see the branches available
1) upstream or origin is called as remote,
2) While creating branch if nothing is specified then it will create as origin.
3) develop or master are called as branches.