4.2.3. Set PromptΒΆ

If you are using Git it is possible to set a custom prompt to your shell.

It can show you on which branch or tag you are on, whether there are local modifications, or there are any stashes.

An excellent solution is Fancy Git. Follow the installation steps from Git Hub