# Git

[BASE product page](<https://base.akulich.dev/en/library/git/>) · [Resource](<https://github.com/git/git>)

ID: git · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A distributed version control system: stores project history, isolates changes in branches, and helps merge and review team work\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/git/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/git/#resource-access>)

Code and local use under GPL\-2\.0\.

## [Paid features and costs](<https://base.akulich.dev/en/library/git/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/git/#resource-access>)

Code and local use under GPL\-2\.0\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/git/#resource-tasks>)

- Isolate a change and inspect project history
- Compare the diff and history before merging into the main branch

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- Git
- CLI
- Development

## Also known as

- git/git

## [Selection purpose](<https://base.akulich.dev/en/library/git/#resource-selection>)

Isolate a change and inspect project history

## [Choose this when](<https://base.akulich.dev/en/library/git/#resource-selection>)

- Isolate a change and inspect project history
- Compare the diff and history before merging into the main branch

## [Requirements](<https://base.akulich.dev/en/library/git/#resource-selection>)

- Manage linked worktrees through git worktree; account for shared repository data and separate working state\.

## [Limitations](<https://base.akulich.dev/en/library/git/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: GPL\-2\.0 for the code; derivative distribution requirements are mandatory\.
- Simply removing the directory does not always clear worktree metadata; portable/offline storage needs an appropriate lock/prune workflow\.

## [Questions before use](<https://base.akulich.dev/en/library/git/#resource-faq>)

### What can you use for free in Git?

Code and local use under GPL\-2\.0\.

### What additional costs might arise with Git?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Git?

GPL\-2\.0 for the code; derivative distribution requirements are mandatory\.

### How do you get started with Git?

Create a working branch and commit a related change\. Compare the diff and history before merging into the main branch\. Save the working command or script and the result criteria\.

### What do linked Git worktrees share, and how do they differ from separate clones?

Worktrees share repository data but have separate HEAD and index files\. git worktree add creates a working tree for a branch; detached mode suits temporary investigation\. If the directory is removed manually, administrative metadata may remain until prune\. lock protects a worktree on temporarily disconnected storage from such metadata removal\.

## Sources for the selection guide

- [https://github\.com/git/git](<https://github.com/git/git>)
- [https://raw\.githubusercontent\.com/git/git/HEAD/README\.md](<https://raw.githubusercontent.com/git/git/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/git/git/HEAD/COPYING](<https://raw.githubusercontent.com/git/git/HEAD/COPYING>)
- [https://dev\.to/codewithshahan/11\-open\-source\-tools\-i\-install\-on\-every\-new\-development\-machine\-1me5](<https://dev.to/codewithshahan/11-open-source-tools-i-install-on-every-new-development-machine-1me5>)
- [https://git\-scm\.com/docs/git\-worktree](<https://git-scm.com/docs/git-worktree>)

## [Possible workflow](<https://base.akulich.dev/en/library/git/#resource-scenario>)

Isolate a change and inspect project history\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Project files or environment\.
- A shell and supported platform\.

## Steps

1. Create a working branch and commit a related change\.
2. Compare the diff and history before merging into the main branch\.
3. Save the working command or script and the result criteria\.

## Check your result

- The command correctly handles paths, Unicode, and invalid inputs\.
- Repeat runs behave predictably; credentials do not appear in the output\.

## [License](<https://base.akulich.dev/en/library/git/#resource-license>)

GPL\-2\.0 for the code; derivative distribution requirements are mandatory\.

## License explanations for the specified scope

### GPL 2\.0 — open\-source code with copyleft

Commercial use and sale are permitted\. When distributing the program or a derivative version, comply with GPL and give recipients access to the corresponding source code\. Simply using an editor or utility does not require you to open\-source your independent work\. Any stated exceptions apply only within their defined scope\.

[License terms](<https://opensource.org/license/gpl-2.0>)

## [Sources](<https://base.akulich.dev/en/library/git/#resource-sources>)

- [Official source](<https://github.com/git/git>)
- [Official source](<https://raw.githubusercontent.com/git/git/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/git/git/HEAD/COPYING>)
- [Catalog / discovery source](<https://dev.to/codewithshahan/11-open-source-tools-i-install-on-every-new-development-machine-1me5>)
- [Official source](<https://git-scm.com/docs/git-worktree>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
