from time to time changing to a directory (through terminal) launches git process which takes 100% of CPU time and up to 5-6 seconds during which my console is absolutely unresponsive.
This doesn't happen every time when I navigate to this directory, but it happens several times during the day.
After 5-7 seconds git process is gone and I get into the directory
my ~.zshrc is here
➜ Config git:(develop) uname -a Linux dmitry 4.13.4-200.fc26.x86_64 #1 SMP Thu Sep 28 20:46:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ➜ Config git:(develop) zsh --version zsh 5.3.1 (x86_64-redhat-linux-gnu) ➜ Config git:(develop) ➜ Config git:(develop) bash --version GNU bash, version 4.4.12(1)-release (x86_64-redhat-linux-gnu)