Command
git checkout (branch switching)
Older multi-purpose command for switching or creating branches; it also has file-restoration modes outside this reference. Inspect status before switching.
Formal Syntax & Structure
git syntaxgit
git checkout BRANCH | git checkout -b NEWWorking Example
Example Snippetgit
git checkout -b topic