git Command Examples

Distributed version control system. Some subcommands such as commit, add, branch, checkout, push, etc. have their own usage documentation. More information: https://git-scm.com/.

git {{subcommand}}

git -C {{path/to/repo}} {{subcommand}}

git -c '{{config.key}}={{value}}' {{subcommand}}

git --help

git help {{subcommand}}

git --version