Can I display GIT in prompt when current directory **has/contains** a `.git` folder? Is there a way to do this? My current prompt is defined like so:

```
export PS1="[\u@\h] \w $ "

```

So, my prompt looks like this:

```
[user@computer] ~/workspace  $

```

And I want it to dynamically look like this:

```
[user@computer] ~/workspace GIT $

```