clone and reinitialize git locally and change name and origin code example
Example: git clone repo with name
git clone https://github.com/foo/repo_name.git new_directory_name
git clone https://github.com/foo/repo_name.git new_directory_name