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