[GIT] branch 

//create new branch
git checkout -b NewBranchName

//See all branch information
git branch -av

//Delete local branch only
git branch -d BranchName

//Delete remote branch on git
git branch -av
  master                              ef20177 add abc
* newBranch                           0c1d821 add 123
  remotes/origin/master               ef20177 add abc
  remotes/origin/newBranch            0c1d821 add 123

//Don't stay at the branch that you want to delete it, please checkout to another branch
git checkout master
//Then delete it
git push origin --delete newBranch
Back