Update prompt character based on whether in git repository.