This is a title
ℹ️ Signing up to GitHub
The following page will provide an overview of how and why we need to setup a GitHub account.
❓Why do we need GitHub?
- GitHub is a free version control tool that allows students to sync code and projects between the campus and home.
- It is standard practice within Industry to use a Version Control tool such as GitHub to backup programming work.
- These tools provide collaborative environments to allow for multiple people to work on a singular project at the same time.
- In addition, the historic element of version control tools allow us to “roll back the clock” when things go wrong.
❓Why can’t we use OneDrive?
- Due to the complexity of a Game Engine – An empty Unity Project (new) will have roughly 31,000 Files and 2900 folders.
- Unfortunately, online storage solutions such as OneDrive do not operate at a sufficient speed to keep up with Unity changes unless it can be left for a significant amount of time.
- This often results in students missing part of the project when the attempt to load it on another PC, therefore breaking the project.
❓Why can’t I use a USB drive?
- While traditionally this was supported as a solution, this often requires student expense.
- In addition, USB ports will be disabled in the future for security reasons.
——————————————————–
Step 1️⃣: Signing up to GitHub Account
Students who do not have a GitHub account should sign up using the following link.
Students who already have a GitHub account can use the existing account – however, they must add their student email as a second email in their GitHub Account settings.
——————————————————–
Step 2️⃣: GitHub Student Developer Pack
To take advantage of some of the paid features of GitHub (such as GIT LFS) – we must sign up to the GitHub Student Developer Pack. This provides us access to multiple services including GitHub Pro – see link below for more information.
Prior to clicking the link below to sign up:
- You must enable 2 Factor Authentication on your GitHub account.
- You must add your student email to the account – Please note you can have multiple email addresses on your account.
Both of these things can be complete inside the account settings.
One this is done, signup using the following link:
🔗 https://education.github.com/pack
It can take up to 3 days for verification to occur.
🪧 Once your GitHub account has been created and you’ve been verified moved on to the next step.
Setting up GitHub Desktop
The following instructions provides a guide on how to install and use GitHub Desktop.
NB: Do not complete these steps without signing up to the GitHub Student Developer Pack as noted in Step 1 of this section on Moodle.
Install Instructions
To setup GitHub Desktop on your home PC or within the college students will need a desktop application. Please click on the following link and download the appropriate version of the application.
🔗 https://desktop.github.com/download/
- After you’ve installed the application you will be prompted to login.
- Installation is required on each PC you use on campus – so it’s recommended to use the same PC for each lab to save installation time.
Configure Git
- After launching GitHub Desktop – Students will be prompted to select a name and email – Please be mindful selecting options here as this information may be publicly visible depending on the privacy settings of your Repo.
- Github provides a masking email address, this will allow for privacy for your own email address and it’s highly advised to use this.

Once configured, the “Lets get started!” window is presented.
- Clicking option 1 as per the image will bring you to the new repo screen – use this option if its the first time setting up a project on GitHub. For this tutorial, click option 1.
- The “?” option highlights how to download an existing repo – i.e. one you’ve created previously and you would like to link to a new PC.

In the “Create a New Repository” window:
- Set the Name of the Repo – Please be mindful that this name will also be used in the public/private facing URL.
- Select the Local Path – This will determine where the project will be located on the PC you’re currently using. Set this to a folder you are aware of, or create a “GitHub” folder on your Desktop and select this.
- Git Ignore – The Git Ignore file is a collection of rules which alters what should be synced to the GitHub platform. GitHub provides a Unity Template in the drop down.
⚠️ It is important to not skip this step!
Optional – Ensure the Initialise Read Me check box is enabled – this will create a “.md” document on your repo which will allow you to add documentation at a later stage. This can be manually added later if needed. - Once the above has been configured, click “Create Repository“.

The repo has now been created locally, however we must sync the repo to GitHub.
- Click on the “Publish Repository” button – this is located in blue on the right hand side of the interface as per the image. It is also located at the top on the right hand side.

- The “Publish Repository” window has an option to list the repository as public or private. It’s advised that repositories are left private initially, this can be changed at a later stage. Click on the Publish Repository button located at the bottom of the window to continue.

Next, check the GitHub folder you’ve created – The folder structure should look similar to the image below. We now need to move our existing Unity project into the folder to sync the files to GitHub.
⚠️ Please note: If you have not created a Unity project as of yet, when creating on using the Unity Hub – Select this folder and continue in a later section.

🛑⚠️ If Unity is open with your project SHUTDONW Unity before completing the next steps!
- To Locate your existing unity folder – Click the three dots next to the project name in the Unity Hub. Select the “Show in Explorer” option and a Windows Explorer window will show.

- Select all files within the folder and “cut” the files so we can paste them elsewhere.

- Paste the files directly into your newly created GitHub folder. Ensure to wait until all files have been pasted before progressing.

As the Unity project files have now been removed, in the Unity Hub – select your project and click remove.
- Once this is complete, click Add located at the top of the interface.
- Select the “Add project from disk” option.

Select the new GitHub folder – Ensure you can see the correct folder structure as per the sample below.

- Open up GitHub Desktop – the changes are now noted in the application
- Every time you make a change in Unity GitHub Desktop will now take note of what files have been changed and provide the opportunity to sync those fields to the GitHub.
- To push the changes, we provide a summary and description of the work complete.
- Clicking commit will stage the changes to be pushed to the GitHub website.

- Click on the History tab to view the recent staging.
- As we can see our “Init” has been staged and is ready to be pushed.
- To push the changes to GitHub – click the “Push Origin” button.
Your changes should now be visible on the GitHub website – log into your account and select Repositories (click your user icon in the top right of the screen).

✉️ If you’ve any questions, please follow up by emailing: conor.keighrey@tus.ie