create branch in github command line code example Example: how to create branch in github using git bash $ git checkout -b [name_of_your_new_branch]