# Git Machete

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

ID: git\-machete · 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 CLI for managing dependent Git branches: it displays a branch tree and helps consistently rebase and update change chains\.

## Type

Developer CLI

## Entry type

tool

## Separate catalog

No

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

free

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

Code and local use under MIT\.

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

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

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

- Coordinate a chain of dependent Git branches
- Inspect branch state and coordinate a chain rebase or update

## Category IDs

- software
- infrastructure

## Subcategory IDs

- software\.cli
- infrastructure\.developer

## Tags

- Git Machete
- CLI
- Development

## Also known as

- virtuslab/git\-machete
- git\-machete
- gitmachete

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

Coordinate a chain of dependent Git branches

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

- Coordinate a chain of dependent Git branches
- Inspect branch state and coordinate a chain rebase or update

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

- The README specifies Python 3\.6\+; a token with GitHub repo scope or GitLab api scope is needed for private repositories and change operations such as create\-pr/create\-mr\.

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

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Interactive go and noninteractive navigation have different platform boundaries; a branch graph alone does not resolve conflicts\.

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

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

Code and local use under MIT\.

### What additional costs might arise with Git Machete?

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

### What terms of use matter for Git Machete?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Git Machete?

Define the branch tree and check dependencies between current changes\. Inspect branch state and coordinate a chain rebase or update\. Save the working command or script and the result criteria\.

### What does Git Machete show, and what limits apply to interactive navigation?

Git Machete shows branch dependencies and state relative to the parent branch; red indicates lack of synchronization with the parent\. traverse guides sequential rebase/merge/push/pull\. Interactive go does not work on Windows, where explicit down, next, prev, and up commands are available\. GitHub/GitLab operations have separate token requirements\.

## Sources for the selection guide

- [https://github\.com/virtuslab/git\-machete](<https://github.com/virtuslab/git-machete>)
- [https://raw\.githubusercontent\.com/virtuslab/git\-machete/HEAD/README\.md](<https://raw.githubusercontent.com/virtuslab/git-machete/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/virtuslab/git\-machete/HEAD/LICENSE](<https://raw.githubusercontent.com/virtuslab/git-machete/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://raw\.githubusercontent\.com/VirtusLab/git\-machete/HEAD/README\.md](<https://raw.githubusercontent.com/VirtusLab/git-machete/HEAD/README.md>)

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

Coordinate a chain of dependent Git branches\.

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. Define the branch tree and check dependencies between current changes\.
2. Inspect branch state and coordinate a chain rebase or update\.
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-machete/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

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

- [Official source](<https://github.com/virtuslab/git-machete>)
- [Official source](<https://raw.githubusercontent.com/virtuslab/git-machete/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/virtuslab/git-machete/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://raw.githubusercontent.com/VirtusLab/git-machete/HEAD/README.md>)

## 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.
