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