Stub requests to GitHub in tests