I am using git in mac. I am trying to have the autocomplete feature. I followed these steps (http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/) but I get this
I had tried to use curl -O but the url was wrong and I ended up copying the text which caused the error.
Using this command made it work perfectly:
curl -O https://raw.githubusercontent.com/git/git/master/contrib/completion/git-completion.bash
Thanks a lot everyone for your help!