Git is an awesome tool, but if you want your team to have a great experience with it, you will need a good tool integration, in this case Unity.


TLDR: Go to Git-for-Unity/Releases, grab the com.unity.git-X.X.X-preview.tgz file, and install it from the package manager.


Introduction

So, you changed your usual VCS from Collab/Perforce/SVN to Git, congrats and welcome to team Git ! 🥳

You read a ton of articles on how to set up Unity for Git and you know everything you need to know about the subject. 🤓

But ... something is missing ? Perforce and Collab have a nice Unity integration, showing within the editor directly which files are out of sync, are locked or are modified locally, and allowing you to lock or commit from Unity.

There is a tool for Git, developed by Unity and still in development (that's why it's kind of hidden). But it could be the tool you need for your team and your workflow to be less error prone !


Git for Unity

Unity-Technologies/Git-for-Unity
Git for Unity, a fork of GitHub for Unity . Contribute to Unity-Technologies/Git-for-Unity development by creating an account on GitHub.

It's a fork (and continuation) of GitHub for Unity and you don't need GitHub for either of these products.

The GitHub version is no longer maintained (last commit was from 2 years ago) and is a classic .unitypackage file whereas the Unity version is an UPM package and still in active development.
You could use the old version and still do fine, but my personal preference would be to use UPM packages.

Head to Git-for-Unity/Releases

There is an overwhelming number of files for each release, but fear not !
The package is split between the UI part and the API part, but the first file, named something like this com.unity.git-X.X.X-preview.tgz, will contain everything you need.

  1. Download the file
  2. Open your Unity project
  3. Open the Package Manager (Window > Package Manager)
  4. Click the + and select Add package from tarball and locate the .tgz file

And now ?

If you need documentation, you can check out the /docs folder in the repository. Here is the Getting Started article.

You may also refer to GitHub for Unity tutorials.