The git file that needs updating is in root's home directory.

The original doc referred to /etc/.bashrc.d/git, which does not exist. I believe the intention was to refer to the file in root's home directory.
tweaked markup