>_

bash-git-prompt

agent-ready non-interactive

An informative and fancy bash prompt for Git users

How to install bash-git-prompt

brew install bash-git-prompt

bash-git-prompt use case

Enhance the shell prompt to display real-time Git repository status for AI agents working with version control in bash environments.

When to use bash-git-prompt

  • When an AI agent needs to frequently check Git branch, staged/unstaged changes, or commit status while navigating a repository.
  • When automating Git workflows and requiring immediate visual feedback on repository state without running separate git status commands.
  • When debugging or monitoring Git operations in a shell session where the prompt provides a concise summary of repository health.

When not to use bash-git-prompt

  • If the agent does not use Git or version control in its tasks.
  • If the shell environment is not bash (e.g., zsh, fish with different prompt mechanisms) or custom prompt overriding is undesirable.

bash-git-prompt features

  • · Displays current Git branch name
  • · Shows ahead/behind remote branch commits
  • · Indicates number of staged, unstaged, and untracked files
  • · Reports stash count and merge conflicts

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like bash-git-prompt on its own.

Set up MCP →

Similar tools to bash-git-prompt