How to get started with GitHub Desktop for a seamless Git workflow

If it is advisable work with GitHub, however haven’t got time to rise up to hurry with the git command line, Jack Wallen believes the GitHub Desktop app is the right software for the job.


Picture: iStock

Git is arms down, essentially the most widely-used model management system on the planet. With Git, you may contribute to and collaborate on initiatives of any kind and dimension. However in the event you’re new to the world of Git, you may discover utilizing the command line a bit inefficient. You might need come from a really GUI-centric platform, the place every thing was point-and-click. Otherwise you merely haven’t got time to study the ins and outs of the Git command line instruments. 

SEE: The most effective programming languages to learn–and the worst (TechRepublic Premium)

If that sounds such as you, then GitHub Desktop could be the best resolution to have you ever up and operating with a seamless Git workflow very quickly.

GitHub Desktop is on the market for Linux, macOS, and Home windows and makes it simple to:

  • Attribute commits
  • Checkout branches
  • View all open pull requests
  • Create or clone repositories
  • Add native repositories

GitHub Desktop contains a easy workflow that anybody can comply with, a quite simple (and useful) onboarding wizard, syntax highlighting when viewing diffs for a number of languages, intensive editor options and shell integrations, expanded picture diff assist, and rather more. The one factor GitHub Desktop can’t do (inside the app itself) is open pull requests. Once you go to open a pull request, it’s going to open your default browser to the pull request motion in your GitHub repository.

So, in the event you’re on the lookout for a solution to begin your GitHub journey, that is the software you want.

Let’s get GitHub Desktop put in and join it along with your GitHub account.

What you may want

I will be demonstrating the set up with Pop!_OS Linux, however the app could be put in on nearly any Debian-based, RHEL-based, or SUSE-based Linux distribution. It will also be simply put in on macOS or Home windows. To put in on Linux, you may want an account with sudo privileges. You may additionally want both a GitHub or a GitHub Enterprise account.

The right way to set up GitHub Desktop

I will reveal putting in GitHub Desktop on Pop!_OS Linux. Putting in the software on macOS and Home windows is so simple as downloading and operating the installer for both Home windows or macOS. For Linux, it requires a number of further steps. Right here they’re for Debian and Ubuntu-based distributions.

First, add the required GPG key with the command:

wget -qO - | sudo tee /and so forth/apt/trusted.gpg.d/shiftkey-desktop.asc > /dev/null

Subsequent, create a brand new repository entry with the command:

sudo sh -c 'echo "deb [arch=amd64] any major" > /and so forth/apt/sources.checklist.d/packagecloud-shiftkey-desktop.checklist'

Replace apt with:

sudo apt-get replace

Lastly, set up GitHub desktop with:

sudo apt set up github-desktop -y

For RHEL-based distributions (akin to Fedora, AlmaLinux, and Rocky Linux), the steps are:

Set up the GPG key:

sudo rpm --import

Add the required repository info:

sudo sh -c 'echo -e "[shiftkey]nname=GitHub Desktopnbaseurl=$basearchnenabled=1ngpgcheck=0nrepo_gpgcheck=1ngpgkey=" > /and so forth/yum.repos.d/shiftkey-desktop.repo'

Set up GitHub Desktop with one of many following instructions (relying on the package deal supervisor you utilize):

sudo yum set up github-desktop -y
sudo dnf set up github-desktop -y

The right way to get began with GitHub Desktop

Upon profitable set up, launch GitHub Desktop. The primary window (Determine A) required you both signal into GitHub or GitHub Enterprise.

Determine A


Your first job is to sign up along with your GitHub account.

Clicking both button will redirect you to your net browser. Be sure to’re signed in to your GitHub account after which, when prompted, authorize the desktop app to be used (Determine B).

Determine B


Authorizing GitHub Desktop to be used along with your GitHub account.

You’ll then be prompted to verify entry to the account. As soon as you have taken care of that, you’ll then want to permit the web site to open x-github-desktop-dev-auth hyperlink (Linux solely). For this, all it’s best to must do is click on Select Software after which click on Open Hyperlink (Determine C).

Determine C


Make certain to click on the verify field for All the time use this software to open x-github-desktop-dev-auth hyperlink.

 As soon as you have taken care of that, it’s best to end up again on the GitHub Desktop software (Determine D). 

Determine D


GitHub Desktop is put in and prepared for configuration.

Stroll by means of the wizard till you land on the GitHub “let’s get began” window (Determine E), the place you may discover a very well-designed introductory tutorial. 

Determine E


The GitHub Let’s Get Began window makes it very simple so that you can rise up to hurry with the software.

Click on Create a tutorial repository and the app will open to the primary window (Determine F). Observe the blue arrow prompts that stroll you thru putting in a textual content editor (which in all probability will not be wanted, as it’s best to have already got one), creating a brand new department, enhancing a file, making a commit, publishing to GitHub, and opening a pull request. After you have stepped by means of that onboarding, you can be prepared to start out working with GitHub, through a really well-designed and user-friendly GUI.

Determine F


The GitHub Desktop repository tutorial is a good place to start out for brand new customers.

And that is the way you get began with the GitHub Desktop software. For anybody who must work with GitHub, however does not wish to cope with the git command line, that is the software you want. GitHub Desktop makes working with GitHub simple sufficient for any person of any ability stage.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise professionals from Jack Wallen.

Additionally see

Recent Articles


Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox