Clean up SCM connection metadata

We use git:// for the read-only connection, since it is much faster than
using SSH.

We also strip the unnecessary ".git" suffixes, and use "https" for the
URL because GitHub always redirects to HTTPS anyway.