Graphite Reviewer is now Diamond

What is a git client?

Greg Foster
Greg Foster
Graphite software engineer
Try Graphite


Note

This guide explains this concept in vanilla Git. For Graphite documentation, see our CLI docs.


A Git client is a tool that facilitates interaction with Git repositories, allowing users to perform version control tasks such as committing changes, branching, merging, and pushing to or pulling from remote repositories. While Git itself is a command-line tool, Git clients provide user-friendly interfaces to streamline these operations.

Git clients come in various forms, including:

  • Command-line interfaces (CLI): Tools that operate through text-based commands in a terminal.

  • Graphical user interfaces (GUI): Applications that offer visual representations and controls for Git operations.

For users who prefer graphical interfaces, several Git clients are available:

  • GitKraken: A cross-platform GUI client known for its intuitive interface and robust features.

  • Sourcetree: A free client by Atlassian that supports both Git and Mercurial repositories.

  • TortoiseGit: A Windows shell interface to Git that integrates seamlessly with Windows Explorer.

  • GitHub Desktop: GitHub's official client that simplifies repository management and collaboration.

These clients provide visual tools to manage repositories, view commit histories, and handle merges, making Git more accessible to users who may not be comfortable with the command line.

The Graphite CLI is a command-line tool designed to enhance the Git experience, particularly for developers who work with stacked changes. It integrates seamlessly with Git to simplify trunk-based development and manage dependencies effectively. Under the hood, it runs Git commands to create branches, commits, and metadata, ensuring compatibility with existing Git workflows.Key features of the Graphite CLI include:

  • Stack creation: Facilitates the creation of a series of dependent code changes, known as a stack.

  • Visualization: Provides commands to visualize, create, update, share, and submit stacks.

screenshot of stack in CLI

  • Integration: Fully integrates with Git, allowing users to continue using Git in scripts and tooling.

To install the Graphite CLI on macOS, you can use Homebrew:

Terminal
brew install withgraphite/tap/graphite

On Windows, installation is possible via npm:

Terminal
npm install -g @withgraphite/graphite-cli@stable

For detailed installation and authentication instructions, refer to the official Graphite documentation. Graphite Documentation

Selecting a Git client depends on your workflow preferences and operating system:

  • For macOS users: GitKraken and Sourcetree offer robust graphical interfaces, while the Graphite CLI provides enhanced command-line capabilities.

  • For Windows users: TortoiseGit integrates with Windows Explorer for a seamless experience, and the Graphite CLI is available via npm for command-line operations.

Evaluating different clients based on your specific needs will help you choose the most suitable tool for efficient version control management.

Git inspired
Graphite's CLI and VS Code extension make working with Git effortless.
Learn more

Built for the world's fastest engineering teams, now available for everyone