Remove all other versions first.

# Import the Microsoft GPG key (required for the repository) wget -qO - https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/ms-teams stable main" > /etc/apt/sources.list.d/github-desktop.list' Update and install sudo apt update sudo apt install github-desktop

Note: Repository URLs change occasionally. Always check the Shiftkey README for the absolute latest repo address. Installing a graphical Git client on a minimal Debian install can sometimes fail. Here are the most common errors and fixes. Error: libsecret-1.so.0: cannot open shared object file GitHub Desktop uses the system keyring to store your credentials (like your GitHub token). Debian minimal installs often miss this.

Download the .deb today, clone your first repository, and experience the joy of drag-and-drop Git management on Linux. Did this guide help you? Share it with a fellow Debian developer. Have a bug? Report it to the Shiftkey issue tracker on GitHub—they are very responsive to Linux users.

sudo apt install libsecret-1-0 This usually happens if you are mixing sudo with snap or flatpak versions previously installed.

For years, Linux users—especially those on Debian-based distributions—have felt like second-class citizens when it comes to native Git clients. While command-line purists swear by git in the terminal, there is a massive audience of developers, designers, and students who want the power of Git without memorizing a single flag or command.