Git is a must-have for your Unity Projects

Yiu Chu
2 min readApr 24, 2021

--

Major benefits:

  • Git provides version control to your Unity project. You can always go back to previous committed version of your codes.
  • Git help storing your project in Remote repository. If your machine dies or has data corrupted, your works is not lost.
  • Git help Teams to work together effectively by allowing branching and merging codes.

Steps:

  1. Download and Install git from https://git-scm.com/:

2. Create GitHub Repository:

Signin to your GitHub account and Create a new repository:

3. Link your local project to the remote GitHub Repository.

Find your repo URL from GitHub

Navigate to your Unity Project folder (git bash or command-line windows) and run the following commands:

Initialized Git repository:

git init

Link local project to the remote repo (using the repo URL):

git remote add origin https://github.com/SIXTOTO/Version-Control-Example.git

4. Start using Git

To use Git effectively, you only need to know less than a dozen commands.

Git website also has a quick tutorial and documentation that are very useful:

Enjoy using Git with Unity !

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Yiu Chu
Yiu Chu

Written by Yiu Chu

A senior software engineer determined to be one of the industry's best Unity developer in 2D, 3D and VR

No responses yet

Write a response