pip install ssh with yes
ssh-keyscan -t rsa github.com >>~/.ssh/known_hosts
Here is what the above code is Doing:
1. Create a new directory called “my_project”
2. Change into that directory
3. Create a new file called “README.md”
4. Add some text to the file
5. Add the file to the staging area
6. Commit the file to the repository
7. Add the remote repository
8. Push the changes to the remote repository
9. Add the remote repository’s SSH key to the list of known hosts