Similar like Linux bash commands, git can also provide auto completion feature for GIT command completion. Definitely tab completion will be faster and easier to operate.
This approach is available for Linux/Windows/Mac OS, in this article it's focused on Linux OS.i.e Centos,RHEL,OL,Ubuntu
1. First step is download the script on to your Linux machine, so execute following command to download the script from github and it will place the script in user home directory.
#curl https://github.com/git/git/blob/master/contrib/completion/git-completion.bash -o ~/.git-completion.bash
2. Add this line to your ‘~/.bash_profile’. This will allow the execution of the git autocomplete script if it present
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
3. Open new terminal window, now 'git' 'sub-commands' 'tab' should report all the possibilities matching the sub command string.