Pulling dependencies from GitHub is standard usage for the package managers of Ruby, Go, Rust, and others. That is, they pull from Git, and it doesn’t have to be GitHub but it usually is.
Sorry, yes, for Ruby and Rust I should have said “they can pull from git”. Point being, it is possible and when you do it GitHub is the most likely source.