Git Windows Set File Executable, git update-index --chmod=+x <file> This command modifies the repo directly.