I\'m trying to clone an entire repository onto my machine using linux. I used
git clone
I then went into the folder where i
git clone --bare https://repo.git projectName
cd projectName
git push --mirror https://repo.git
that makes your repo completely identical.
See: https://help.github.com/en/articles/duplicating-a-repository