git branchgit commit -am 'Commit comment'# Go to the base branch first
git checkout -b new_branch_namegit checkout branch_namegit push -u origin branch_name# Switch to a branch to merge the remote to the local
git pull# Go to the target branch
git merge --no-ff current_branch target_branch