git create branch with current changes code example Example: git create new branch from current git checkout -b topic/newbranch