---
title: gstat
categories: |
prompt
version: 0.104.0
prompt: |
Get the git status of a repo
usage: |
Get the git status of a repo
editLink: false
contributors: false
---
<!-- This file is automatically generated. Please edit the command in https://github.com/nushell/nushell instead. -->
# `gstat` for [prompt](/commands/categories/prompt.md)
<div class='command-title'>Get the git status of a repo</div>
::: warning This command requires a plugin
The `gstat` command resides in the `gstat` plugin.
To use this command, you must install and register `nu_plugin_gstat`.
See the [Plugins](/book/plugins.html) chapter in the book for more information.
:::
## Signature
```> gstat {flags} (path)```
## Parameters
- `path`: path to repo
## Input/output types:
| input | output |
| ----- | ------ |
| any | any |