I\'m following this documentation: https://help.github.com/articles/duplicating-a-repository/
git clone --mirror https://github.com/exampleuser/repository-to
instead of
git clone --mirror
use
git clone --bare
instructions