git switch -c feature/login # ... edit files ... git commit -am "Add login form" git switch main git merge feature/login git branch --merged