Wouldn't it be nice to have autocomplete for git on your console when working with linux? And of course there is.

Insert the following into your ~/.bashrc or ~/.profile:

source /etc/bash_completion.d/git
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

For more informationen just look into this stackoverflow question.