Fix git branch autocomplete.