git-checkout(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | DETACHED HEAD | ARGUMENT DISAMBIGUATION | EXAMPLES | CONFIGURATION | SEE ALSO | GIT | COLOPHON

GIT-CHECKOUT(1)                 Git Manual                GIT-CHECKOUT(1)

NAME         top

       git-checkout - Switch branches or restore working tree files

SYNOPSIS         top

       git checkout [-q] [-f] [-m] []
       git checkout [-q] [-f] [-m] --detach []
       git checkout [-q] [-f] [-m] [--detach] 
       git checkout [-q] [-f] [-m] [[-b|-B|--orphan] ] []
       git checkout [-f]  [--] ...
       git checkout [-f]  --pathspec-from-file= [--pathspec-file-nul]
       git checkout [-f|--ours|--theirs|-m|--conflict=