Just found this question because I had the same problem and i couldn't find an answer anywhere so this is for everyone in the future that'll find this question.
You have to edit your bashrc file
$ vim ~/.bashrc
And add this to the bottom of the file
umask 022
After this you have to logout and login before this will take effect (if you're logged in using ssh just connect again) or execute the file
. ~/.bashrc
Now you can git clone again and it'll work.
You can find the documentation for umask here