Fix the git's install shell script bugs.