pub fn setup(dir: impl AsRef<Path>) -> Result<()>
Setup the Git hooks directory path specified by dir argument.
dir