But copilot actually outputs code into your project, do you really want citations there? I prefer to just enable the setting for it to not reproduce code verbatim from other projects.
And if an architecture decision is so significant, retain a repository of architecture decision records.
// Credit Foo Project per MIT license
// See <https://github.com./foo/project/path/to/file
fn some_foo_fn() {
This has nothing to do with git history.