Skip to main content

GitHub Desktop

GitHub Desktop is an open-source application that GitHub created to make working with Git less complicated. That makes GitHub Desktop a great option for those who may be new to using a version control system to collaborate on projects. For researchers with more experience using version control and the command line, or if using a Linux operating system, you may be interested in trying GitHub CLI.

In the following steps, we walk through how to configure GitHub Desktop for your own computer(s) and GitHub user account. If you have not created a GitHub user account, we suggest setting that up before GitHub Desktop.

note

GitHub Desktop is only available for Mac OS and Windows. You can read more here about which operating systems are supported for GitHub Desktop.

Installation#

To install GitHub Desktop on your computer, follow the instructions in the official documentation, selecting Mac or Windows (depending on your computer's operating system).

After installation is complete, open GitHub Desktop. The next step is to connect your GitHub user account with GitHub Desktop.

note

The screenshots on this page were created on a Mac computer, but all instructions are written for both.

Connect your account#

Now that you've installed the GitHub Desktop application, it's time to connect it to your GitHub account by signing in as an authenticated user. To proceed with authentication, use the menu bar's drop-down for GitHub Desktop and select Preferences, as shown in the screenshot.
GitHub Desktop App Preferences

In the preferences window, select Accounts and click the Sign In button for GitHub.com.

Local Preferences Before Sign In

The application will then ask you to either Sign in using your browser or Continue With Browser. Whichever it is, click that button, and your default web browser will be opened to an authorization page on GitHub.com. If you're not already signed in, it will ask you to do so before continuing. The authorization window will look like this screen where the GitHub user @aridyckovsky is asked to give access to his account:

Authorize Desktop Window

Once you've read and agreed to the conditions of access (you can view these by clicking the drop-down arrow icons), click Authorize desktop. With authentication complete, launch the desktop application (you may be prompted to do so by your browser, and you should take this chance to do so!).

After a successful connection, you will be brought back to the "Let's get started!" screen. If you have already created or contributed to repositories, they will appear on the righthand side of the application window with a text input field to filter your repositories, such as the startyourlab repositories in this screenshot:

Local Home Screen After Sign In

If you don't have any repositories connected to your account, that's completely fine. You can learn more about creating and contributing to repositories in a tutorial.

Configure your Git defaults#

To synchronize versions of files on your computer with versions of files on GitHub, you need to configure Git on your computer. In the Git tab of the Preferences pane in the GitHub Desktop application, add your full name and email address (this should be the same email address that you signed up to GitHub with). We suggest using main as the default branch for new repositories.

Pick your integrations#

After connecting your account, you should select which applications you would like to integrate with GitHub Desktop. In the Integrations tab of the Preferences pane, you can select your preferred text editor (i.e., Atom, Sublime Text, VS Code). If you have a shell other than Terminal, you have the option to set that alternative shell as the default.
Last updated on by Ari Dyckovsky