In the root of my project I have a directory called features. I also have a Git branch called origin/feature-add-coupon-code-to-report.
When I do git co fe<TAB> the Git branch is matched and completed to git co origin/feature-add-coupon-code-to-report which seems strange to me.
Shouldn't the local directory be matched before the branch give that feature is not present at the start of the branch name?
If I type 3 or more characters then it completes to git co features/.
What is the expected behaviour?