Jekyll’s website is hosted on GitHub Pages and does not use
url in your config and using relative or absolute filters should work just fine.
And as in development environment
url defaults to
localhost:4000, you shouldn’t have to worry.
site.github.url is related to
jekyll-github-metadata, this plugin is mostly useful if you need to access other metadata.