--- alias: "create branch" name: "create branch" --- up::[[Git Branches]] title::"`git checkout -b ` create and switch to", "`git branch ` create but don't switch" #informatique ---- Create branch and switch to that new branch ```bash $> git checkout -b Switched to new branch '' ``` Create branch but don't switch to that new branch ```bash $> git branch -b ```