change pattern matching to: replace `{id}` or just append
auto detect GitHub `remote.origin` as a fallback