If you navigate to a git repository containing a large number of untracked files, bash-git-prompt can become excessively slow, making the terminal unusable. This is a particular problem when navigating to a yadm repository which is tracking the entire $HOME directory.

One solution is to tell bash-git-prompt not to enumerate untracked files.

export GIT_PROMPT_SHOW_UNTRACKED_FILES=no