Rewrite URL for github