Adds same `.git` existence check as in base

Don't use the `git()` helper if `.git` doesn't exist.
Handles more hosts in a better way

Strips off optional leading `git@` and trailing `.git`, splits off the
app name after the last colon, and checks that the remaining host looks
like a Heroku remote.
Updates README