Fix prompt in hidden (.git) directories