We want our prompts to look like this:
[ddemaree@ddemaree-osx giftboxapp (master)]$
In this example, the text inside the square brackets shows the current username and hostname (
ddemaree@ddemaree-osx), followed by the name of the current directory (
giftboxapp), and finally the current Git branch (
(master)) shown in parentheses.
If we have untracked changes to this Git project, those are denoted with an asterisk: