How to Create Branch in GIT

  • Create a blank branch (no-switching)
git branch <branch-name>
  • Create a blank branch and switch to it
git checkout -b <branch-name>
  • Create a branch from other branch
git checkout -b <branch-name> <branch-name-from>

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.