made .git extension optional

because some people (like me sometimes) forget the `.git` at the end of the url