Encode the branch for github file URLs. Changes URL format, but redirects to the new format.