Hello I have a repository created with --bare on my git server, I would like for example in the master branch when I had change of my several codes.js I would take the modified file and execute it by a routine that I have in nodejs, but in the repository that I created with --bare I do not see the files so my routine will get the modified ones. could anyone help me how I could do this.
summary: if I have for example three codes.js and two are modified today, I would like my routine nodejs to ask git for the modified files to take them in their modification and execute the script.