# GitInfo

> Identifies a specific revision for a Git package using a Git commit hash.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.PackageManager](/engine/6000.0/script-reference/unityeditor/packagemanager.md)
* **Assembly:** UnityEditor

```csharp
public class GitInfo
```

## Properties

| Property                                                                                   | Description                                                                       |
| ------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------- |
| [hash](/engine/6000.0/script-reference/unityeditor/packagemanager/gitinfo/hash.md)         | Returns the resolved Git commit hash for the requested revision for this package. |
| [revision](/engine/6000.0/script-reference/unityeditor/packagemanager/gitinfo/revision.md) | Returns the requested Git revision for the Git package.                           |
