$git init $git config --global user.email "your email" $git config --global user.name "Your name" $git remote add origin https://github.com/username/new_repo(Can be copied from github directly) $git push -u origin master