...
Add the github remote location to your Git config for a specific Logging Services project. If you already have a remote for GitHub then add the two lines that mention "refs" to it.
[remote "github-log4j"]
url = https://github.com/apache/logging-log4j2
fetch = +refs/heads/*:refs/remotes/github/*
fetch = +refs/pull/*/head:refs/remotes/github/pr/*
cd into the .git directory inside the project.
Add the following to the file named "config".
[remote "github[remote "github-log4j-audit"]
url = https://github.com/apache/logging-log4j-auditlog4j2
fetch = +refs/heads/*:refs/remotes/github/*
fetch = +refs/pull/*/head:refs/remotes/github/pr/*
NOTE: For the rest of this guide we will assume that Apache Git is the remote named "origin" and GitHub is the remote named "github".
...