Checkout command allows us to create and switch to different branch
It can be used to view old versions of the repository
It can also be used to restore files from old snapshot
Checkout is used to change the location of the HEAD pointer
--track command will also create a new branch with the same name as the upstream branch on the local system