adding a folder to a git repository code example
Example: how to make a folder into git repo
$ git remote add origin [email protected]:username/new_repo
$ git push -u origin master
$ git remote add origin [email protected]:username/new_repo
$ git push -u origin master