how to make a git repository in an existing folder 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