Git GUI Clients

Updated · 8 min read
easyGit 2.53gitguigithub-desktopsourcetreegitktools

A Git GUI client is a program with windows and buttons for working with Git repositories, separate from any code editor. It shows the commit graph, branches and changes visually, and lets you stage, commit, merge and push with the mouse. Git itself comes with two simple ones, gitk (a history viewer) and git gui (a commit tool), and many others can be installed. GUI clients are used by people who prefer to see history as a picture, by designers and writers who don't use an IDE, and by developers for tasks such as browsing a complicated graph.

It is like a map app compared with written directions. Both get you to the same place; the map helps you see where you are and how the roads join.

The Main Clients

ClientPlatformsPrice (November 2026)Good for
GitHub DesktopWindows, macOSFree, open sourceBeginners and GitHub users: clone, commit, branch, pull requests
Sourcetree (Atlassian)Windows, macOSFreeA full-featured client, popular with Bitbucket users
GitKraken DesktopWindows, macOS, LinuxFree for public repositories, paid plans for private onesA clear graph, built-in conflict editor, works with all platforms
ForkWindows, macOSPaid, with a free evaluationA fast, tidy client with interactive rebase
TowerWindows, macOSPaidProfessional users, strong undo features
lazygitWindows, macOS, LinuxFree, open sourceA full-screen client inside the terminal, driven by the keyboard
gitk and git guiWherever Git runs with Tcl/TkFree, part of GitQuick history browsing and committing without installing anything

Prices and plans change; check each product's website before choosing one for a team.

gitk and git gui

Both come with Git, though some Linux distributions package them separately (for example as gitk and git-gui). They open windows, so they are shown here without output:

Terminal
gitk --all
gitk -- src/FeeCalculator.java
git gui
git gui blame src/FeeCalculator.java

Explanation: gitk --all shows the commit graph of every branch, with each commit's message and diff below it; it takes the same options as git log, so gitk -- <path> shows only commits that changed a file. git gui shows unstaged and staged changes, lets you stage single lines by right-clicking them, and commits; git gui blame <file> shows who changed each line. They look old-fashioned, but they are always available, even on a server with a graphical login.

What Every Client Shows You

Whatever the client, it is drawing things you already know from the terminal:

In the clientIn Git
The graph of dots and linesgit log --oneline --graph --all
"Local" and "Remote" branch listsgit branch and git branch -r
Ahead and behind arrowsgit status and git branch -vv
Unstaged and staged file listsgit status
Discard changesgit restore
Fetch, Pull, Push buttonsgit fetch, git pull, git push
Undo last commitgit reset --soft HEAD~1, in most clients

You can check any of them in the terminal at any time:

Terminal
mkdir fee-tracker
cd fee-tracker
git init --quiet
echo 'Term 1 fee: $12,000' > fees.txt
git add fees.txt
git commit --quiet -m "Add the term fee"
git switch --quiet -c feature/late-fee
echo 'Late fee: $250' >> fees.txt
git commit --quiet -am "Add the late fee"
git switch --quiet main
echo 'Exam fee: $800' > exam.txt
git add exam.txt
git commit --quiet -m "Add the exam fee"
git log --oneline --graph --all
Output
* 8c4bb58 (HEAD -> main) Add the exam fee
| * 3550432 (feature/late-fee) Add the late fee
|/
* 6b651a0 Add the term fee

Explanation: this is the picture a GUI client draws as colored lines: main and feature/late-fee split after "Add the term fee". The client shows the same commits, the same IDs and the same branch labels.

The parts every Git client has

How to Choose

If you...Try
Are new to Git and use GitHubGitHub Desktop
Use Bitbucket and JiraSourcetree
Want the clearest graph and work on several platformsGitKraken Desktop or Fork
Live in the terminal but want a visual viewlazygit, or git log --graph
Need something on a machine where you can't install softwaregitk and git gui
Already use VS Code or IntelliJ IDEATheir built-in Git support (see "Git in VS Code and IntelliJ IDEA")

Common Mistakes

Learning only the GUI. When something goes wrong, the buttons may not explain it, and every error message and fix online uses Git commands.

Clicking "Discard" without reading. It runs git restore or git clean, which delete uncommitted work permanently.

Using a client's force push without lease. Check that its force push uses --force-with-lease (most modern clients do, or have a setting for it).

Mixing a client's own "undo" with Git's. A client's undo history is its own; git reflog is the record that always works.

Under the Hood

Almost every GUI client runs the git program, just as IDEs do. A few (GitKraken, for example) use a Git library, such as libgit2, for some operations and call git for others. This is why a client may lag behind a brand-new Git feature, and why settings like hooks or .gitattributes filters (Git LFS) need the client to support them. gitk and git gui are scripts written in Tcl/Tk that run ordinary Git commands and draw their output.

Interview Corner

Name some Git GUI clients.

GitHub Desktop, Sourcetree, GitKraken Desktop, Fork, Tower and lazygit, plus gitk and git gui, which come with Git.

What are gitk and git gui?

Two graphical tools that ship with Git: gitk browses history (it accepts git log options, such as --all), and git gui stages and commits changes, and can show blame.

Should a developer use a GUI or the command line?

Both have a place. GUIs help to see history and review changes; the command line is needed for recovery, scripts, servers and advanced commands, and it is what error messages and documentation use.

Practice

Challenge: the graph a client would draw. In Navika's repository, merge feature/late-fee into main with a merge commit, then print the graph a GUI client would show.

What does Git print? Before you open the solution, draw the graph yourself.

Show solution
Terminal
git merge --quiet --no-edit feature/late-fee
git log --oneline --graph --all
Output
*   1e46a6d (HEAD -> main) Merge branch 'feature/late-fee'
|\
| * 3550432 (feature/late-fee) Add the late fee
* | 8c4bb58 Add the exam fee
|/
* 6b651a0 Add the term fee

The merge commit joins the two lines again: one parent on main ("Add the exam fee"), the other on feature/late-fee ("Add the late fee"). A GUI client draws the same shape, usually with each branch in its own color.

Checkpoint. Install one GUI client, open a repository you know, and find in it: the current branch, the last three commits, an unstaged change, and the ahead/behind count. Then check each one with the matching Git command.

Quick check: Git GUI clients

4 questions
1Which two graphical tools come with Git itself?
2What does gitk --all show?
3Can you use a GUI client and the terminal on the same repository?
4Which terminal command shows what a client's graph shows?

Key Takeaways

Quick reference

CommandIt is used to
gitk --allBrowse every branch's history
gitk -- <file>Browse a file's history
git guiStage and commit in a window
git gui blame <file>See who changed each line
git log --oneline --graph --allThe same graph in the terminal

Was this tutorial helpful?

Lesson 99 of 106