DOC: Added pre-commit link inside the guideline for developers.
- [x] closes #48941

Updated the contributor guidelines doc to include the redirection url for pre-commit. 
Help developers to setup the environment.



I think rather than creating a new section the idea is to link to the already-existing section on pre-commit in contributing_codebase.rst - can you give that a look? @Dr-Irv @MarcoGorelli  > I think rather than creating a new section the idea is to link to the already-existing section on pre-commit in contributing_codebase.rst - can you give that a look? @Dr-Irv @MarcoGorelli

Yes, I agree.  Just create a link (and make sure you use the short form link, not the http) with text that says "Be sure to also install the pre-commit hooks", where the phrase "pre-commit hooks" links to that section of the docs.
 @Dr-Irv , I have updated the text as per your instructions. Thanks. @Dr-Irv . I have made the respective changes.
I understand it now. There are two kinds of links in the file, one with http and the other short form link with ref format. Although both work the same way, the short form link redirects in an offline manner.

 Did I understand it correctly ? > Thanks for your PR
> 
> Not keen on this location as it's only visible to anyone reading "option 1b"
> 
> I'd suggest placing it right after the first paragraph, just after
> 
> ```
> but if you skip creating the development environment you won't be able to build the documentation locally before pushing your changes.
> ```
> 
> I also agree on changing `be sure to`, e.g. to `it's recommended to`

Thanks for your help !. Applied the changes,