You can point the style option to a remote file hosted on GitHub.
GitHub URL Schemes
You can use github:// or gh:// schemes. You can pin the style to a specific Git reference (commit, tag, or branch) using the @ syntax. If no reference is provided, Nitpick defaults to the develop branch.
Authentication for Private Repositories
For private repositories, you can include a token directly in the URL or use an environment variable.
Note: A literal token cannot start with $ and must not contain @ or : characters. When using an environment variable, use the $VARIABLE_NAME syntax.
# Pinned to a version
[tool.nitpick]
style = "github://andreoliwa/nitpick@v0.38.1/nitpick-style.toml"
# Using the default branch (develop)
style = "gh://andreoliwa/nitpick/nitpick-style.toml"
# Using a regular GitHub URL (uses the raw URL)
style = "https://github.com/andreoliwa/nitpick/blob/v0.38.1/nitpick-style.toml"
# Private repo with environment variable
style = "github://$MY_AUTH_KEY@some-user/a-private-repo@some-branch/nitpick-style.toml"