improve build for git