O'Reilly logo

Mastering Unity 2017 Game Development with C# - Second Edition by Alan Thorn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commits and branches

The Git Repo is a folder-based database of files and changes. A Repo is effectively a chronological sequence of project snapshots. It keeps track of the state of your project over time. A Snapshot simply represents the complete state of your project at a specific date and time. When you first create a Repo, it consists of one Branch, called the MasterBranch. A Branch represents a single, complete timeline of snapshots. A timeline is a good analogy because changes to the project happen over time, one after another, and each change builds from the ones before it along a continuous line or Branch. The GitKraken interface indicates that a Branch (named Master) has been created and is currently active:

The active branch

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required