Loading lessons...
Setup and Config Commands
These commands set up Git and manage its configuration. You find full docs for each at git-scm.com/docs.
git
bash
git - version
git - help
The git command itself is the front door to everything. Run it alone to see a list of common commands.
git config
bash
git config - global user.name "Your Name"
git config - global user.email "you@example.com"
git config - list
Config sets your identity and preferences. Levels: - system, - global, - local.
git help
bash
git help config
git config -h
Help shows documentation. The -h flag gives a quick summary.
git bugreport
bash
git bugreport
Collects your Git info into a report file, useful when asking for help.
git version
bash
git version
Prints the installed Git version.
TL;DR
git configsets your identity and preferences.git helpshows command docs,-hgives quick help.git bugreportgathers system info for support.git - versionandgit versioncheck your install.