# Git Plugin Manual 4.0.9

### Git trigger plugin

## Usage

In order to use Git trigger plugin, you need to create a Git Repository. Git repositories could be managed from the configuration screen.

A Git Repository has the following properties:

- Title: The title of the repository.
- Url: The address where the server is reachable.
- Username: The login user ID on the server.
- Password: The login user password on the server.

The git trigger is used to poll periodically a Git repository and trigger a release if it detects a new commit. The specific fields of the plugin during its creation are:

- Git Repository: The Git repository to poll (mandatory)
- Branch: The git branch you want to watch
- Username: The username used to connect to this repository (left blank if there is no authentication)
- Password: The password used to connect to this repository (left blank if there is no authentication)

This trigger exposes:

- Commit Id: Corresponding to the SHA1 of the new commit