def create_deploy_branch(deploy_branch, push=True):
if not deploy_branch_exists(deploy_branch):<EOL><INDENT>print("<STR_LIT>".format(deploy_branch))<EOL>clear_working_branch()<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', DOCTR_WORKING_BRANCH])<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:.>'])<EOL>print("<STR_LIT>")<EOL>run(['<STR_LIT>', '<STR_LIT>'])<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'.format(deploy_branch)])<EOL>if push:<EOL><INDENT>print("<STR_LIT>".format(deploy_branch))<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>'.format(DOCTR_WORKING_BRANCH, deploy_branch)])<EOL><DEDENT>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', DOCTR_WORKING_BRANCH])<EOL>run(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>'])<EOL>return True<EOL><DEDENT>return False<EOL>
If there is no remote branch with name specified in ``deploy_branch``,
create one.

Note that default ``deploy_branch`` is ``gh-pages`` for regular
repos and ``master`` for ``github.io`` repos.

Return True if ``deploy_branch`` was created, False if not.