Getting help on Git commands
To get help on Git commands, you can run the following:
git help <command>
<command> represents the command you are interested in seeing help for.
To view help for the
git help add...DESCRIPTIONThis command updates the index using the current content found in theworking tree, to prepare the content staged for the next commit. Ittypically adds the current content of existing paths as a whole, butwith some options it can also be used to add content with only part ofthe changes made to the working tree files applied, or remove pathsthat do not exist in the working tree anymore....
Viewing help on the browser
To view the help information in a browser rather than terminal, use the
git help -w <command>