update git functions for OSX10.9