awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
magicmonty avatar

magicmonty/bash-git-prompt

0
View on GitHub↗
6,924 stars·987 forks·Shell·BSD-2-Clause·36 views

Bash Git Prompt

bash-git-prompt is a Bash shell extension and prompt customizer that integrates real-time Git status indicators directly into the terminal. It functions as a shell theme that displays branch names, commit divergence, and file status markers within the command line interface.

The project distinguishes itself through a hierarchical configuration system that allows for directory-specific overrides of global settings. It includes performance tuning options to maintain shell responsiveness in large repositories by selectively disabling expensive operations such as remote fetching or untracked file scanning.

The tool covers a broad range of visual and functional capabilities, including prompt layout and color customization, remote branch divergence tracking, and the monitoring of staged, unstaged, and stashed files. Users can define custom delimiters and apply predefined visual themes to organize the appearance of the input line.

Features

  • Git Status Indicators - Displays branch names, commit divergence, and file change counts as visual elements within the shell prompt.
  • Git Command Line Extensions - Extends the command line interface by calling Git commands to extract repository state and branch information.
  • Shell Prompt Customizers - Provides a comprehensive system for configuring and styling the layout and content of the Bash command-line interface prompt.
  • Terminal Prompt Customizers - Acts as a terminal prompt customizer that displays Git branch names, divergence, and file status.
  • Shell Integration - Hooks into the shell environment to dynamically compute and inject a status string into the prompt.
  • Shell Themes - Provides a visual configuration for the Bash command line that adds colors and dynamic information.
  • Prompt Performance Optimizations - Reduces shell lag in large repositories by optimizing how Git status and remote tracking are fetched.
  • Repository Configuration - Provides a system for managing local repository settings to override global behaviors for specific directories.
  • Shell Responsiveness Optimizations - Minimizes shell lag in large repositories by disabling expensive operations like untracked file detection.
  • Template String Interpolation - Injects shell variables and calculated Git data into template strings to build the command line prompt.
  • Visual Styling and Prompt Utilities - Implements aesthetic enhancements for the terminal, including custom delimiters and dynamic status markers for the prompt.
  • Local-Remote Branch Synchronizers - Tracks and displays synchronization status and divergence between local and remote Git branches.
  • Divergence Indicators - Indicates if the current branch is ahead of, behind, or diverged from its upstream remote tracking branch.
  • Hierarchical Configuration Frameworks - Combines global settings with directory-specific overrides to control status indicators.
  • Feature Toggles - Allows users to disable expensive operations like remote fetching to maintain shell responsiveness.
  • Prompt Themes - Ships a system for applying predefined visual themes and custom color configurations to the terminal prompt.
  • Prompt Color Styling - Allows the definition of foreground and background colors to style text output in shell prompt segments.
  • Conditional Formatting - Applies ANSI color codes and delimiters based on the current state of the Git repository.
  • Shell Environments - Informative Git status prompt for Bash.
  • Terminal Customization - Informative Git prompt for Bash.
  • Terminal Prompts - Informative Git status prompt for Bash users.
  • Version Control - Informative and customizable bash prompt for git.
  • Terminal Customization - Informative prompt theme with Git status integration.

Star history

Star history chart for magicmonty/bash-git-promptStar history chart for magicmonty/bash-git-prompt

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does magicmonty/bash-git-prompt do?

bash-git-prompt is a Bash shell extension and prompt customizer that integrates real-time Git status indicators directly into the terminal. It functions as a shell theme that displays branch names, commit divergence, and file status markers within the command line interface.

What are the main features of magicmonty/bash-git-prompt?

The main features of magicmonty/bash-git-prompt are: Git Status Indicators, Git Command Line Extensions, Shell Prompt Customizers, Terminal Prompt Customizers, Shell Integration, Shell Themes, Prompt Performance Optimizations, Repository Configuration.

Which projects share features with magicmonty/bash-git-prompt?

Projects with overlapping indexed features include: nojhan/liquidprompt — Liquidprompt is an adaptive command-line interface theme and context-aware status bar for Bash and Zsh. It functions… dahlbyk/posh-git — posh-git is a PowerShell extension that provides a Git prompt and a set of toolsets for enhancing terminal… arialdomartini/oh-my-git — oh-my-git is a shell extension for Bash and Zsh that provides a Git status indicator directly within the command line… romkatv/powerlevel10k — Powerlevel10k is a high-performance shell prompt framework designed to provide a responsive and visually informative… bhilburn/powerlevel9k — Powerlevel10k is a customizable Zsh theme framework and command line prompt customizer designed to create a visual… lvv/git-prompt — bash prompt with GIT, SVN and HG modules.

Projects sharing features with Bash Git Prompt

These projects share indexed features with Bash Git Prompt. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • nojhan/liquidpromptnojhan avatar

    nojhan/liquidprompt

    4,660View on GitHub↗

    Liquidprompt is an adaptive command-line interface theme and context-aware status bar for Bash and Zsh. It functions as a shell environment indicator and tracker, displaying real-time system information, user identity, host connections, and working directory data directly within the prompt. The project features a theme engine that allows for the modification of layout, colors, and glyphs. It integrates version control status indicators to show active branches, tags, and commit statistics, alongside indicators for active container tools, orchestrators, and language-specific virtual environment

    Shell
    View on GitHub↗4,660
  • dahlbyk/posh-gitdahlbyk avatar

    dahlbyk/posh-git

    8,218View on GitHub↗

    posh-git is a PowerShell extension that provides a Git prompt and a set of toolsets for enhancing terminal productivity. It integrates Git status and branch information directly into the PowerShell command prompt and provides a toolkit for customizing the appearance, colors, and path formatting of the shell session. The project distinguishes itself by providing command line autocompletion for Git commands, branch names, and file paths. It also includes an SSH agent manager with wrapper commands to start, stop, and monitor the status of secure shell agent processes. The software covers broade

    PowerShellchocolateygitpowershell
    View on GitHub↗8,218
  • arialdomartini/oh-my-gitarialdomartini avatar

    arialdomartini/oh-my-git

    3,709View on GitHub↗

    oh-my-git is a shell extension for Bash and Zsh that provides a Git status indicator directly within the command line prompt. It functions as a Git shell prompt that displays the current branch and repository state using configurable symbols and colors. The project includes a customizable terminal theme, allowing users to modify visual variables to personalize the appearance of the interface. It also provides a fallback prompt configuration to define the text displayed when a directory is not tracked by a version control system. The extension manages version control visualization and shell w

    Shell
    View on GitHub↗3,709
  • romkatv/powerlevel10kromkatv avatar

    romkatv/powerlevel10k

    54,468View on GitHub↗

    Powerlevel10k is a high-performance shell prompt framework designed to provide a responsive and visually informative command-line interface. It functions as a terminal customization engine that allows users to define the appearance, color schemes, and information density of their prompt through a declarative configuration file. By decoupling prompt rendering from shell initialization, it eliminates startup latency and ensures that the command line remains responsive even under heavy system loads. The project distinguishes itself through advanced performance optimizations, including asynchrono

    Shellzsh
    View on GitHub↗54,468
Compare all 30 related projects→