Trello API and GitHub links

is there a way using the Trello API to get any and all GitHub links attached to a Trello card? Ideally I would like this info via a webhook notification.

In the UI, these links show up in sections “GitHub Pull Requests” and “Activity”.
I am not sure if that relates to using the GitHub Power-Up or not.