Repository redirects are coming to the GitHub API, and this functionality is now available for developers to preview. Let's try it out.
First, we need a repository that has been renamed or relocated. Since jasonrudolph/jasonrudolph.github.io was previously named jasonrudolph/jasonrudolph.com, we can use it as our guinea pig. 🌍🐖
We'll use curl for all of our examples below, and we'll include the --location
option to instruct curl to follow any redirects that it encounters.
Using the current production version of the GitHub API, when we attempt to [access the repository](https://developer.github.com/v3/repos/#get