Git Mirror Repository
cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>
Ivix4u
cd myrepo
git fetch origin
git push --mirror <remote_repo_git_url>
# open cmd
# cd to your folder where you wanted to put the clone
cd foldername
# clone repository
git clone source_repo.git
# login to github account and create new_repo
# -> if you experience "remote: Permission to UserName/repo.git denied ..."
# -> check this article https://bit.ly/3o3L1ah
# when the clone is done, cd to clone source_repo
cd clone source_repo
# push the clone to your new repository this will include commits
git push new_repo.git --mirror