how to make a branch main in git code example Example: create and go to branch git checkout -b <branch_name>