To manage Unity project version control using GitHub for Unity, perform the following steps:
- Create a new Unity project.
- Open the Asset Store panel (choose Window | Asset Store).
- Search for the keyword GitHub, and then select GitHub for Unity.
- Click the Add to My Assets button (it's free!):
Figure 8.17 – GitHub for Unity on the Asset Store website
- Click the blue Import button, and when the Import Unity Package window appears, click the Import button.
- If a popup appears regarding a newer version, accept it and download the newer version. This will download as a Unity package (probably in your Downloads folder), which you can then import into your Unity project.
- Once imported, you should see a Plugins | GitHub folder in your Project panel. You will also now see two new items on your Window menu, for GitHub and GitHub Command Line:
Figure 8.18 – New GitHub menu, plus the GitHub folder in Assets | Plugins
- Choosing the Window | GitHub Command...