Sorta. There were plenty of websites for source code hosting before Github, but they all sucked because you couldn't collaborate or at least not easily. Github focusing on easy-to-use collaboration tools (pull requests and issues) is what set them apart.