How do I clone a GitHub wiki?

Append .wiki.git to the repository name.

That is, if your repository name was foobar:

git clone [email protected]:myusername/foobar.git would be the path to clone your repository

and

git clone [email protected]:myusername/foobar.wiki.git would be the path to clone its wiki.

Note: You must have at least one page to be able to clone the wiki repo. (via @tobiasz-cudnik)


You can clone the git wiki using following command.

git clone https://github.com/<git-username>/<repo-name>.wiki.git