Is there a way to determine if my local clone is a fork of some github repo?

Viewed 3003

More specifically, how do I tell if the origin of the repo on disk is a fork of some repo? I am thinking that it should be some API call, but I am not sure. Can I rely on "remote.upstream.url"?

1 Answers
Related