You can get a brief summary of a Git command's usage by using the -h or --help option with the command.
Example Code:
# Get a brief summary of the git checkout command's usage
git checkout -h
# Get a brief summary of the git branch command's usage
git branch -h