I find that this is more reliable. 

Sometimes this gives the wrong branch. This is what I am seeing right now:

```
08:44:53 andrew.lan /var/www/cotd-website asset-version-has-environment $ git st
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
```

With the update it has changed to this:

```
08:47:03 andrew.lan /var/www/cotd-website master $ git st
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
```