cd existing_folder git init git remote add origin url_git git add . git commit -m "Initial commit" git push -u origin master