Use -- with git checkout to ensure that tags are not treated as paths