Git prompt is a third-party contribution to the git repository that enables users to use tab completion for common git commands. According to git completion creator Shawn O. Pearce, completion support is provided for:
This functionality is provided by shell scripts for bash, tcsh and zsh. Each of these shell scripts can be downloaded here:
https://github.com/git/git/tree/master/contrib/completion