Can we do a feature check?
https://github.com/git/git/blob/master/contrib/completion/git-completion.bash#L25-L28

> *Warning:* I'm awful at shell scripting ;)