add git completion with script

see http://apple.stackexchange.com/a/55886/43968 for more details