Made git prompt fast when gn is used.