The correct format of the repository URL goes like this: https://github.com/myuser/myrepo
. Unless I'm missing anything, GitHub can't be hosted locally, so it's expected that you use the URL with https://github.com
.
Perhaps you mean GitLab rather than GitHub? In that case, you'll need to use the GitLab option in the VCS configuration setup.