Is there a way to make the shell autocomplete git branch names like it does in linux(mint). While typing, for example,
git push -u origin so<tab>
in linux, this will give me all the branches that start with “so”. Is there a way to get this behavior with the shell (on OS X)?