# gitswitch

> Keep Git and GitHub identities correct for every repo.

Keep Git and GitHub identities correct for every repo. Run work, personal, and coding-agent sessions in parallel with gitswitch, the open-source Go CLI.

## Facts
- Website: https://gitswitch.dev
- Pricing: free
- Categories: Developer Tools, Open Source
- LotsDirectory page: https://lots.directory/products/gitswitch
- Listing state: Unclaimed. We listed this product from its public website, and its owner has not claimed it yet.

## Detailed info

## What is gitswitch?

gitswitch is an open source Go CLI that keeps Git and GitHub identities aligned with the repo.

## What gitswitch does

The tool aligns commit author details, GitHub CLI accounts, SSH keys, and signing identities with the active repo. Developers run work, personal, and AI coding agent sessions in parallel without switching shared global configurations. The CLI stays local without servers or telemetry, with keys in SSH and tokens in the OS keychain.

## Who gitswitch is for

For developers, engineers, and teams managing multiple Git identities, clients, and GitHub accounts on one machine.

## How gitswitch works

Users install the CLI via Homebrew or curl, connect GitHub accounts, and pin specific profiles to repos with a single command.

## Key features

- Pins identities to individual repos so commits and pushes always use the designated account.
- Isolates GitHub CLI sessions across terminals so concurrent sessions operate without account collisions.
- Selects matching SSH keys and GPG or SSH signing identities for each active profile.
- Includes a reauthor command to rewrite author and committer metadata on existing commits.
- Runs locally as a router without telemetry or credential proxies, keeping tokens in the OS keychain.
- Open source under the Apache-2.0 license for macOS, Linux, and Windows.

## Facts from gitswitch.dev, checked 13 October 2026

- Written in Go and licensed under Apache-2.0.
- Supports macOS, Linux, and Windows platforms.
- Tokens stay local in the OS keychain.

Written from gitswitch's own website ([Homepage](https://gitswitch.dev/), [Docs](https://gitswitch.dev/docs/get-started/intro/)). The maker can claim this listing to edit it.

## FAQ

### Is gitswitch open source?
Yes. It is written in Go and licensed under the Apache-2.0 license.

### Does gitswitch replace GitHub CLI?
No. It adds repo-aware identity and session management around existing Git and GitHub CLI workflows.

### Where are credentials and SSH keys stored?
Keys remain in SSH and tokens stay in the OS keychain with no telemetry or remote proxies.

### Can gitswitch fix commits made under the wrong identity?
Yes. The reauthor command rewrites author and committer metadata on existing commits.

---
Source: https://lots.directory/products/gitswitch · Machine-readable context by LotsDirectory.