#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| 1. create self-signed certificate | |
| openssl req -newkey rsa:2048 -nodes -keyout localhost.key -x509 -days 365 -out localhost.crt | |
| 2. copy localhost.key and localhost.crt to nginx/conf folder | |
| 3. configure nginx.conf to | |
| server { | |
| listen 80; | |
| server_name localhost; | |
| return 301 https://$server_name$request_uri; |