
Get started with GitHub Desktop
Tutorial
·
Beginner
·
+0XP
·
5 mins
·
(13)
Unity Technologies
In this tutorial, you’ll learn how to set up GitHub Desktop to enable version control for Unity project collaboration.
1. Overview
Before you can collaborate on Unity projects with GitHub, you need to install and set up GitHub Desktop — a free, beginner-friendly application that handles version control tasks without requiring command-line knowledge.
With GitHub Desktop, you’ll be able to do the following:
- Track changes to your project files over time.
- Collaborate with others by sharing and synchronizing your work.
- Manage different versions of your project, such as features or bug fixes, in isolation.
2. Install GitHub Desktop
In this step, you’ll download and install GitHub Desktop on your computer.
Instructions
1. Go to the GitHub Desktop website and download the installer
- Navigate to https://desktop.github.com in your web browser.
- Select Download now, then Download for Windows or Download for macOS, depending on your operating system.
- Wait for the download to complete.

2. Run the installer
- Once the download is complete, run the installer file (the downloaded .exe or .dmg file).
- Follow the on-screen instructions to complete the installation process.
You’ve successfully downloaded and installed the GitHub Desktop application, preparing your system for version control.
3. Sign in to GitHub
Connecting your GitHub account to GitHub Desktop is a crucial step that allows you to perform essential version control actions. This ensures your work is synchronized with the online platform and your collaborators.
Instructions
1. Open GitHub Desktop
- If GitHub Desktop isn’t already open, open it now from the Start Menu (Windows) or Applications folder (macOS).
2. Sign in and authorize your account
- Select File > Options > Sign in to GitHub.com.
- Select Continue with browser to complete the authorization there. If you don’t have a GitHub account, you can create one by following these steps.
- Authorize GitHub Desktop to access your account if prompted.
Your GitHub account is now successfully connected to GitHub Desktop, enabling you to manage your repositories and collaborate with your team.
4. Create a new repository
A repository, often shortened to "repo", is the central place where Git tracks all changes to your project files over time. Git is a version-control system that tracks changes to files, allowing you to manage, compare, and revert your work over time without losing anything. It stores every version of your code, assets, and documentation, allowing you to revert to previous states, compare changes, and collaborate efficiently. You’ll now create your first local repository using GitHub Desktop.
Instructions
1. Start a new repository
- Go to File > New Repository.
2. Name your repository
- In the Name box, enter a name, such as “tutorial-repo”.
Note: GitHub Desktop automatically replaces spaces with dashes (-) in repository names. When working with repositories, it’s good practice to use dashes instead of spaces.
3. Configure .gitignore
- Open the Git ignore dropdown and select Unity.
Note: A .gitignore file tells Git which files it should explicitly ignore and not track. You would typically select Unity here for a Unity project. However, for the purposes of learning, you’ll manually add the .gitignore file later to help you understand how it actually works.
4. Choose a license (optional)
- Open the License dropdown and select a license (for example, MIT or None).
Note: Selecting a license now isn’t critical, and you’ll retain all rights to your project regardless of your choice. You can always change this later. For more information, GitHub has documentation on the different license options or you can use this helpful guide to select the right option.
5. Create the repository
- Select Create Repository.
6. Open the local repository folder
- Select Show in Explorer (Windows) or Show in Finder (macOS) to open the newly created local repository folder.
Note: At the moment, this folder is empty. In the next tutorial, you’ll add a Unity project to this folder.

You’ve now initialized a Git repository on your local machine, configured with a name and optional license. This repository is ready to track changes for your upcoming Unity project.
5. Next steps
In the next tutorial, you'll download a sample Unity project and move it into this repository, setting up your first project for version control.