Git preserves file permissions, so you should be able to omit this step. It looks like you did commit `build.sh` and `test.sh` with `755`.