I am team of 4 members, we have have git repo in azure devOps, I am given task to add git hook(scan code for indentation, unwanted spaces etc). I know git hook must be added to ./.git/hooks, I have scripts ready. But how do I ensure my other teammates receive my script in their local repo, so code check is done before they commit new files.
FYI, any changes made .git will remain only to local repo, but what is the easiest way that my git hook is passed onto all my team members?