Add `.git` at the end of `git clone <repo>`.  That's how it's supposed to be done, though it's not necessary.