How To Change The Branch In Git?

`git branch`

`git switch branch-name`

`git checkout branch-name`

`git switch -c new-branch-name`

`git checkout -b new-branch-name`

`git switch -`

`git checkout -`

Suggested for You

Trending Today