Technology · Reference dataset
Git Commands
Git commands organized by task, with explanations and examples.
Download options
Preview the records
The 10 most recently added of 51 records · Select a column heading to sort.
| ID | Command | Category | Description | Example |
|---|---|---|---|---|
| 42 | git revert | Undo | Create a new commit that undoes existing commits | git revert HEAD |
| 43 | git clean | Undo | Remove untracked files from the working tree | git clean -fd |
| 44 | git apply | Undo | Apply a patch to files and to the index | git apply patch.diff |
| 45 | git config | Config | Get and set repository or global options | git config --global user.name "Me" |
| 46 | git help | Config | Display help information about Git | git help commit |
| 47 | git rev-parse | Config | Pick out and massage parameters for other commands | git rev-parse HEAD |
| 48 | git version | Config | Display the version of Git that is installed | git --version |
| 49 | git gc | Config | Clean up unnecessary files and optimize the repository | git gc |
| 50 | git fsck | Config | Verify the connectivity and validity of objects | git fsck |
| 51 | git cat-file | Config | Show content, type, or size of repository objects | git cat-file -p HEAD |
CSV / JSON / XML
Put this data to work.
All 51 records, in your choice of format.
- This dataset and the rest of the catalog
- Complete CSV, JSON, and XML files
- Category ZIPs and API access
365 days of access to the catalog. One payment, no automatic renewal.
Your key arrives by email after payment. Use it here to download the complete file.
Already have a pass?
Your key is used for this request and is not saved by this page.
Commercial use is allowed, free or paid.
Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.
Scope and sources
Last checked against sources: October 16, 2026.
Last changed: July 19, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.
- Git Reference Manual (git-scm.com) (used with permission)
A complete download includes all 51 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.
Use this dataset through the API
GET https://mysafeinfo.com/api/data/gitcommands
Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.
Without a pass, sorting and randomization apply only to the fixed 10-row sample.