Fix Git prompt for usage with Hub & gh

The Git prompt does not update itself if you're using a tool such as Hub
or gh - this fixes that.