Side Note: When setting up bash-completion with brew, the instructions are very straight forward unless you are using a g() function combined with git aliases.
Then you must manually add this line to your bash profile:
__git_complete git _git
Taken from: http://stackoverflow.com/questions/342969/how-do-i-get-bash-completion-to-work-with-aliases