---
title: GitInformation
framework: swift-package-manager
role: symbol
role_heading: Structure
path: swift-package-manager/documentation/packagedescription/gitinformation
---

# GitInformation

Information about the git status of a given package, if available.

## Declaration

```swift
struct GitInformation
```

## Topics

### Instance Properties

- [currentCommit](swift-package-manager/documentation/packagedescription/gitinformation/currentcommit.md)
- [currentTag](swift-package-manager/documentation/packagedescription/gitinformation/currenttag.md)
- [hasUncommittedChanges](swift-package-manager/documentation/packagedescription/gitinformation/hasuncommittedchanges.md)

## Relationships

### Conforms To

- Swift.Sendable
- Swift.SendableMetatype
