GitHub Quick setup
Quick setup — if you’ve done this kind of thing before
https://github.com/USERNAME/REPOSITORY_NAME.git
Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.
…or create a new repository on the command line
echo "# empty" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin https://github.com/USERNAME/REPOSITORY_NAME.gitgit push -u origin main
…or push an existing repository from the command line
git remote add origin https://github.com/USERNAME/REPOSITORY_NAME.gitgit branch -M maingit push -u origin main
git@github.com:USERNAME/REPOSITORY_NAME.git
Get started by creating a new file or uploading an existing file. We recommend every repository include a README, LICENSE, and .gitignore.
…or create a new repository on the command line
echo "# empty" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin git@github.com:USERNAME/REPOSITORY_NAME.gitgit push -u origin main
…or push an existing repository from the command line
git remote add origin git@github.com:USERNAME/REPOSITORY_NAME.gitgit branch -M maingit push -u origin main