Global setup:
Set up git git config --global user.name "Your Name" git config --global user.email [email protected]
Next steps:
mkdir your-repo-name cd your-repo-name git init touch README git add README git commit -m 'first commit' git remote add origin [email protected]:username/your-repo-name.git git push -u origin master
Existing Git Repo?
cd existing_git_repo git remote add origin [email protected]:username/your-repo-name.git git push -u origin master