Mirror a Repository

git clone "${URL}" ./local

pushd ./local

git remote add "${REMOTE_NAME}" "${REMOTE_URL}"
git push --mirror "${REMOTE_NAME}"

popd
rm -rf ./local