Lets avoid the use of global. Since this is a Rails application we can store this on the `Rails.application.config`.

We can add this on application.rb

```ruby
config_data = YAML.load(File.read(Rails.root + "config/config.yml"))
config.github_url = config_data[Rails.env]["github_url"]
```