GitHub
After a commit, go to GitHub and create a repo.
Follow the GitHub provided prompts.
Push your existing local repo from your computer terminal
to GitHub.
- Git remote add origin https://github.com/githubusername/githubrepo.git
- git branch -M main
- git push -u origin main
- git remote add origin https://github.com/githubusername/githubrepo.git
- "Add a remote repository (Github) to your local repository. Origin is the name of your remote repository. The web address is where you can find the repository on Github"
- git branch -m main
- Command 2 Explanation
- Command 3
- Command 4 Explanation