Can you tell me what the problem is when git push presses tab?

  git, question

Can you tell me what the problem is when git push presses tab? ?

clipboard.png

This is because bash/zsh completion function is implemented throughCall completion functionIn other words, the completion function can be customized.Writing Bash Complement Script.
Now your problem is that bash/zsh runtime did not load into__git_remotesFunctions such as, according to your own system bash automatically complete directory, canManualLoad these files. For example. /usr/share/bash-completion/completions/git.

As to why this problem occurs, I am not sure.