1. Create the directory ``~/.bash`` if it does not exist (this location is customizable).
1. Move the file ``gitstatus.py`` into ``~/.bash/``.
1. Source the file ``gitprompt.sh`` from your ``~/.bashrc`` config file, and, configure your prompt in ``~/.bash/gitprompt.sh``. For this you have to set the variables PROMPT\_START and PROMPT\_END.
1. You may also redefine the function ``setGitPrompt`` to adapt it to your needs (to change the order in which the information is displayed).
1. Clone this repository to your homedir e.g. ``git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt``
1. configure your prompt and source the file ``gitprompt.sh`` from your ``~/.bashrc`` config file
* you can use ``GIT_PROMPT_START`` and ``GIT_PROMPT_END`` to tweak your prompt
* If you want to tweak the colors, currently you have to tweak it in the ``gitprompt.sh``