add git repo to composer.json
add chmod function