This function is primarily for organisational level configuration. Supply
git hooks in the form of R functions and they will be executed via the
Rscript interface.
Usage
nm_pre_commit_hook(cmd)
nm_pre_push_hook(cmd)
Value
If no cmd is specified this returns the return value of
getOption("nm_pre_commit_hook"). Otherwise there is no return value.